How can I prevent line breaks?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 47
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
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.
Contributor 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.
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.
Assessment
- Domain
- content, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100