CKEditor auto wrapping HTML elements in p tags
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the issue by adding a link in CKEditor and inspecting the source output, using the reported Craft, PHP, database, and craftcms/ckeditor versions as a reference. No file or test is named, so first locate the plugin's handling of the autoParagraph setting; done means the configured link output no longer gains an unexpected p wrapper.
Written by the indexing model from the issue text.
Description
Description
When adding a tags ckeditor is auto wrapping with p tags, the config 'autoParagraph: false' does not seem to work
Steps to reproduce
- Add a link in the ckeditor
- Edit source and see the wrapping p tag
Additional info
- Craft version: 5.6.11 PRO
- PHP version: 8.2.27
- Database driver & version: MariaDB 10.6.21
- Plugins & versions: "craftcms/ckeditor": "4.6.0"
- 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