When I paste text in small Twitter, I get different behaviors. I have this text in my sample notepad text file:
& Lt; Pre & gt; A & lt; Br / & gt; B & lt; Br / & gt; & Lt; Br / & gt; C & lt; / Pre & gt;
IE 9:
& lt; P & gt; A & lt; Br / & gt; B & lt; / P & gt; & Lt; P & gt; C & lt; / P & gt; Firefox 13:
& lt; P & gt; A & lt; Br / & gt; B & lt; Br / & gt; & Lt; Br / & gt; C & lt; / P & gt; Should I treat IE9 in all browsers Anyone have any suggestions on how to achieve this?
If you paste as plain text icon, you Browsers will end with markup from your IE9 example given above. You can try it here:
You can see that this option is very well configured (this is the pastetext Option is): theme_advanced_buttons2: "cut, copy, paste, pastaste, pastewire, search, place, |, bullist, numlist, | outdent, indent, blockquote, | , Undo, redo, |, link, unlink, anchor, image, cleanup, help, code, insertdate, inserttime, preview
as a last resort , You can use , Preprocess callback and manual Similarly set the flag inside the editor, something like this: ed.pasteAsPlainText = true; Look around the line 74 here:
Comments
Post a Comment