Ckeditor4: Source empty code not empty

Created on 29 May 2019  路  2Comments  路  Source: ckeditor/ckeditor4

Ckeditor 4.11.4
When clicking on SOURCE BUTTON when NO text is written. the following script is always in the source screen. It cannot be deleted. and it sticks to the final HTML.







invalid

Most helpful comment

Issue is most likely caused because @santiagotor is running the ExpressVPN browser extension, which is capable of injecting the script into HTML. Here's a link to the script in the source repository of the browser extension:

https://github.com/expressvpn/expressvpn_browser_extension/blob/master/source/scripts/content/gps.js

Disabling the browser extension should get rid of the problem (at least it did for me). Just thought I'd drop the link here (even though the issue is closed and unrelated to ckeditor), because this was one of the top search results I got for a similar issue.

All 2 comments

Hello

// assume the worst, fake the location in non http(s) pages since we cannot reliably receive messages

function waitGetCurrentPosition() {

Based on comment and unminified function name I'm a sure that code you pasted is not a part of CKEditor codebase, I assume it comes from some third party script.

What's more issue can't be reproduced on plain CKEditor:
https://cdn.ckeditor.com/4.11.4/full-all/samples/

We can't fix what is not a part of CKEditor. Please look carefully on your installed third party plugins and other scripts. When you find what is causing the problem please redirect your question to the script's author who should be able to review the problem and suggest a solution.

Issue is most likely caused because @santiagotor is running the ExpressVPN browser extension, which is capable of injecting the script into HTML. Here's a link to the script in the source repository of the browser extension:

https://github.com/expressvpn/expressvpn_browser_extension/blob/master/source/scripts/content/gps.js

Disabling the browser extension should get rid of the problem (at least it did for me). Just thought I'd drop the link here (even though the issue is closed and unrelated to ckeditor), because this was one of the top search results I got for a similar issue.

Was this page helpful?
0 / 5 - 0 ratings