Samuell1/contenteditor-plugin

Allow empty paragraphs

kosmonowt opened this issue · 5 comments

Is it possible to allow empty paragraphs or multiple line breaks in the editor?
My content managers complain that they can not produce them, but they need it...

I dont think its possible because of limitations of ContentTools.

Id be interested in this enhancement. Just added over 80+ content pages to a site and just found out by the customer that they cant add add an extra space under the paragraph.

Ill try and take a look today to see if i can fix or get a workaround...

Hi. I've made some tweaks to the content editor content-tools.min.js and works on my side.
I've got no clue how to contribute to a working project on here so ive added a file to gist.

This will allow for line breaks (shift+enter) but wont work for empty new paragraphs...
https://gist.github.com/cloudwales/8bb72daa1132ce7eb3ec4d9879cc41e2

this replaces the assets/content-tools.min.js

@cloudwales Thats amazing! But do you think can we extend content-tools without updating min file? It can be overwrited later with new version of ContentTools.

Ill give it a shot :)