Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- editor_new = CKEDITOR.appendTo( 'editorSpace',{
- on:{
- instanceReady: function(ev){
- this.dataProcessor.writer.lineBreakChars = '';
- this.dataProcessor.writer.setRules( 'p', {
- indent: false,
- breakBeforeOpen: false,
- breakAfterOpen: false,
- breakBeforeClose: false,
- breakAfterClose: false
- });
- <p>Tony</p>
- <p> </p>
- <p>Stark</p>
- <p>Tony</p>
- <p> </p>
- <p>Stark</p>
- <p>Tony</p><p> </p><p>Stark</p>
- CKEDITOR.replace( 'editor', {
- removePlugins: 'htmlwriter'
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement