-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: 7.0.0 DXP FP78, 7.0.10.11 DXP SP11, 7.0.X, 7.1.10 DXP FP10, 7.1.10.2 SP2, 7.1.3 CE GA4, 7.1.X, Master
-
Component/s: CKEditor
-
Branch Version/s:7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
CKeditor is missing initial <p> tags when inputting text to the editor. This causes the text to have an extra space "\n" added as it goes thru antisamy when published (also stored in the database in that way).
Pressing enter in editor (for input spanning multiple lines) <p> tags are added and thus does not reproduce issue.
Reproduction Steps:
1. Add Calendar portlet to page
2. Click 'Add Event', enter title, enter "abc" for description
3. Highlight "b" and bold it
*Notice that if you click 'Source' in CKeditor toolbar, the input is not enclosed in <p> tags
4. Publish
Expected Result:
Text should be displayed as "abc"
Actual Result:
Text is displayed as "ab c", with the added space after the html bold tag
Reproduced in:
master f8313a5b8a9cc1382e88b207ee45eb4cd0c4d582
7.1.x dcb28b2cdc1c8da2eee11e91c9bc3a61e58555ee
7.0.x 47cf167c77aabb3dc15a1e1b5ec4a6357f0274cf