Changes between Initial Version and Version 1 of Ticket #12282, comment 4
- Timestamp:
- Sep 23, 2014, 4:26:51 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12282, comment 4
initial v1 2 2 3 3 1) Open MS Word and type following sentence (<NEW_LINE_USE_ENTER just means press ENTER key to get to new line) 4 5 {{{ 4 6 ABC <NEW_LINE_USE_ENTER> 5 7 DEF <NEW_LINE_USE_ENTER> 6 8 GHI <NEW_LINE_USE_ENTER> 9 }}} 10 7 11 8 12 2) Copy the complete content and paste it into notepad. You would notice that it does nicely fit into notepad as 9 13 14 {{{ 10 15 ABC 11 16 DEF 12 17 GHI 18 }}} 19 13 20 14 21 and if you try to capture the paste event using javascript, it gives you the exact same data 'e.data.getData( "text/plain" )' … … 16 23 3) Now if you repeat the above steps with CKEditor (instead of MS WORD) and paste it into notepad, you would see 17 24 25 26 {{{ 18 27 ABC 19 28 … … 22 31 GHI 23 32 33 }}} 34 35 24 36 If you also inspect the content of e.data.getData( "text/plain" ), you do see the same exact content. 25 37