Hi,
I've implemented the CKEditor.Reactive component in my application succesfully and it works pretty neat.
There is only one thing; every time I press enter, a double paragraph is entered. See GIF.
So I type "hello", then press enter once, then type "hello2". In the source I see:
<p>hello</p><p> </p><p>hello2</p>
Where I expect to see:
<p>hello</p><p>hello2</p>
This is really annoying. I've tried some different approaches to fix / bypass this.
I guess it has to do with the setup of the component, as I can not reproduce this in the CKEditor instances in the Docs, like over here https://ckeditor.com/docs/ckeditor4/latest/examples/enterkey.html.
Did anyone experience this before and found a solution to fix it (elegantly)?
Thanks in advance,
Rob
Hi Rob,
We have launched a new version (1.0.10) that contains a specific fix for the issue reported.
Can you try it out?
Cheers,
Thanks, it works like a charm now.
Hi Rob, did you already found a solution? Here the same problem, or almost. This is the config json I've used:autoParagraph: false,allowedContent: true, fillEmptyBlocks: false,basicEntities: false,enterMode: 2, shiftEnterMode: 1,
luuk<br />
<div></div>But I've a extra div and also an unwanted break....Br Luuk
Hi Luuk,
No solution yet. I tried with config that is working well on the editors on the DEV pages of the CKEditor. Works on those pages, does not resolve the issue when I put that config in the component in my project.
Saw some topics on the issue on other non OS forums mentioning the enterMode setting, but like I said in my original post it always puts in a form of an empty line in between my typed lines.
Since I haven't seen this issue mentioned before on this component, it's either not occurring at other people's PCs, or people don't find it annoying enough.
Will definitely post something if I've found a way to make it less annoying.