Title: [Plugin: Front-end Editor] Odd javascript appears on &quot;remove formatting&quot; attempt
Last modified: August 20, 2016

---

# [Plugin: Front-end Editor] Odd javascript appears on "remove formatting" attempt

 *  [synpress](https://wordpress.org/support/users/synpress/)
 * (@synpress)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/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 [http://www.lipsum.com/feed/html](http://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?
 * [http://wordpress.org/extend/plugins/front-end-editor/](http://wordpress.org/extend/plugins/front-end-editor/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-odd-javascript-appears-on-remove-formatting-attempt/#post-2185761)
 * That’s a very strange issue.
 * What browser are you using? Does it happen if you try in another browser?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Front-end Editor] Odd javascript appears on "remove formatting"
attempt’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/front-end-editor.svg)
 * [Front-end Editor](https://wordpress.org/plugins/front-end-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-editor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-front-end-editor-odd-javascript-appears-on-remove-formatting-attempt/#post-2185761)
 * Status: not resolved