Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty paragraphs #72

Open
kosmonowt opened this issue Nov 2, 2018 · 5 comments
Open

Allow empty paragraphs #72

kosmonowt opened this issue Nov 2, 2018 · 5 comments

Comments

@kosmonowt
Copy link

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...

@Samuell1
Copy link
Owner

I dont think its possible because of limitations of ContentTools.

@cloudwales
Copy link

cloudwales commented Mar 13, 2019

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...

@cloudwales
Copy link

cloudwales commented Mar 13, 2019

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

@Samuell1
Copy link
Owner

@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.

@cloudwales
Copy link

Ill give it a shot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants