How can I prevent line breaks?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
This issue is a configuration question about preventing line breaks in CKEditor fields used with Craft 5. Start by checking the CKEditor and Craft 5 configuration documentation for paragraph and heading behavior; done means identifying a supported configuration or documenting that the requested single-text-element behavior is unavailable.
Written by the indexing model from the issue text.
Description
Hello,
I'm using the CKEditor in Craft 5. I'd like to prevent line-breaks/returns so I can have CKEditor fields with a single paragraph/heading but with a single text element. As a former user of Redactor, this was very easily achieved by adding a couple of lines to the config.
I have scoured the Internet for a response but I could not find one.
Please help!
Thanks.
- Dominant language
- PHP
- Stars
- 47
- Forks
- 32
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from craftcms/ckeditor
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[5.x]: InvalidSubpathException when Default Upload Location uses an object template like {slug}Possibly taken @i-just claimed this 7 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Image Editor reload appends stacking cache timestamp and doesn't reflect edits behind a CDNMay be free again @i-just claimed this 107 days ago, and no pull request is open. Openbug
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in craftcms/ckeditor
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
sync-en
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Yoast/wordpress-seo#23658 ·
Maintainers usually reply within 3 days
-
fixed
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
firefly-iii/firefly-iii#12934 · 2 comments ·
Maintainers usually reply within 1 day