[Plugin: Front-end Editor] Odd javascript appears on "remove formatting" attempt
-
I create a page in WP which I was editing using the front-end editor – I pasted some Lorem Ipsum text from https://www.lipsum.com/feed/html into it, which worked, although right margin was off somewhat. I then selected the text area in the inline editor and chose “Remove Formatting” from the floating tool bar… after a brief pause, it dumped:
= result) {result = value;}}); return result; }> b ? 1 : 0;}).pluck("value"); }> i; j--) { if (this[i][0] == this[j][0]) { this.splice(j, 1); } } } }>
at the start of the text area followed by the Lorem Ipsum text in quotes – ???.
So, I tried it again, but this time using notepad as an intermediary paste/copy source to strip out possible hidden code and the inline editor inserted:
= result) {result = value;}}); return result; }>
but kept the Lorem Ipsum text in a clean format.
If I have to train end-users on complexities of 2-3 cut/paste operations, they won’t use it. Is there heavier filtering possible for cut/paste? The Javascript looks to be some sort of internal overrun/bug.
Thoughts?
- The topic ‘[Plugin: Front-end Editor] Odd javascript appears on "remove formatting" attempt’ is closed to new replies.