Non breaking characters in place of spaces
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 47
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
Description
I have a Kannada language string in Google Docs. When I paste it into CKEditor, it shows in place of a regular space.
Steps to reproduce
- Create a CKEditor field with options enabled for Bold, Italic and Link.
- Paste the text from Word Doc to CKEditor.
Expected HTML Output
<p>ಬನ್ನಿ, ಕರ್ನಾಟಕದ ಶ್ರೀಮಂತ ಸಾಂಸ್ಕೃತಿಕ ಮತ್ತು ಸಾಹಿತ್ಯಕ ಪರಂಪರೆಯನ್ನು ಸಂಭ್ರಮಿಸೋಣ!</p>
Actual HTML Output
<p>ಬನ್ನಿ, ಕರ್ನಾಟಕದ ಶ್ರೀಮಂತ ಸಾಂಸ್ಕೃತಿಕ ಮತ್ತು ಸಾಹಿತ್ಯಕ ಪರಂಪರೆಯನ್ನು ಸಂಭ್ರಮಿಸೋಣ!</p>
Additional info
- Craft version: 5.5.8
- PHP version: 8.2.20
- Database driver & version: MySQL 8.0.36
- CKEditor Plugin versions: 4.4.0
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
Reproduce the issue in a CKEditor field with Bold, Italic, and Link enabled by pasting the linked Kannada text from Google Docs. Compare the generated HTML with the expected output, then trace the paste handling to determine why regular spaces become non-breaking spaces. Done means the pasted text produces regular spaces without breaking the reported formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100