Changes between Initial Version and Version 1 of Ticket #14861, comment 8
- Timestamp:
- Dec 7, 2016, 3:25:17 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14861, comment 8
initial v1 1 It doesn't but perhaps you could. I haven't tried it but you could listen to [http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-key key] event, get data there and try to change HTML: 1 > I thought that maybe CKEDITOR could run the same processing as it does when getData() is called, 2 It doesn't auto do that but perhaps you could. I haven't tried it but you could listen to [http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-key key] event, get data there and try to change HTML: 2 3 3 4 {{{ … … 5 6 var keyCode = evt.data.keyCode; 6 7 if ( keyCode == CKEDITOR.CTRL + 67 ) {// Ctrl+C 7 //Change HTM lhere...8 //Change HTML here... 8 9 } 9 10 } /*, null, null, 10*/ ); // perhaps some priority adjustents to value below 10 will be needed … … 12 13 13 14 14 @e.arshinov I think I will discuss it with the team to get all point of views. In general text content is needed in 90% of cases. Users sometimes also paste data form and into editor and in suchdata should not be cleaned.15 @e.arshinov I think I will discuss it with the team to get all point of views. In general text content is needed in 90% of cases. Users sometimes also copy data form and paste it into editor and in such cases data should not be cleaned.