Code
conversion is too greedy.
#17789
Labels
package:basic-styles
squad:core
Issue to be handled by the Core team.
type:bug
This issue reports a buggy (incorrect) behavior.
Milestone
📝 Provide detailed reproduction steps (if any)
<p style="word-wrap: break-word">foo bar</p>
<p><code>foo bar</code></p>
✔️ Expected result
style="word-wrap: break-word"
should not be converted into<code>
tag❌ Actual result
style="word-wrap: break-word"
is now converted into<code>
tag❓ Possible solution
upcastAlso
should be removed:ckeditor5/packages/ckeditor5-basic-styles/src/code/codeediting.ts
Lines 63 to 67 in daa1105
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: