Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why are there spaces in the code?
#4
(2012-11-21, 07:47:35)Graphicism Wrote: Thank you,

Would you mind telling me which setting it is under ckeditor.


a forum search should have helped you ;=)

1) this behaviour has nothing to do with valid code or not.
2) see here:
http://get-simple.info/wiki/how_to:edito...stom_files

it is done with a custom config. Check this part of the example-file:

Code:
var blockTags = ['div','h1','h2','h3','h4','h5','h6','p','pre','ul','li'];
var rules = {
indent : false,
breakBeforeOpen : false,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
};

for (var i=0; i<blockTags.length; i++) {
ev.editor.dataProcessor.writer.setRules( blockTags[i], rules );
}

});
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
Why are there spaces in the code? - by Graphicism - 2012-11-21, 06:19:43
RE: Why are there spaces in the code? - by Connie - 2012-11-21, 20:35:53



Users browsing this thread: 1 Guest(s)