CKEditor BR tag issie
Issue with CKEditor 4.x where multiple BR tags pasted into source field get replaced with NBSPs, after toggling from source to wysiwyg and back.
by jpj109
HTML
<script src="http://nightly.ckeditor.com/13-03-21-20-18/standard/ckeditor.js"></script>
<p>http://nightly.ckeditor.com/13-03-21-20-18/standard/ckeditor.js</p>
<textarea id="test">
<br />
<br />
<p>This is a paragraph of text.</p>
<br />
<br />
<p>Second paragraph of text.</p>
</textarea>
JavaScript
var options = {
fillEmptyBlocks: false,
autoParagraph: false,
height: 200,
enterMode: CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTER_P,
resize_enabled: false
};
CKEDITOR.replace('test', options);