This article documents a known issue for customers using CKEditor in Liferay Digital Experience Platform 7.0.
When editing content that uses CKEditor—such as a Message Board thread—on a Microsoft Edge browser, you might notice that the cursor cannot be placed at the end of the Subject line. Unfortunately, this is a known issue that has surfaced with the CKEditor that is included "out of the box" (OOTB) with Liferay Digital Enterprise 7.0.
Ensure that editor.wysiwyg.portal-impl.portlet.ddm.text_html.ftl=ckeditor
has been set in the portal-ext.properties
file. That way, the Liferay platform uses CKEditor (and not AlloyEditor) as the default editor.
Steps to Reproduce
- Start the Liferay Digital Enterprise 7.0 platform
- Using Microsoft Edge, add a page and then the Message Boards portlet to the page
- Create a new thread:
- Subject: Star Wars Fan Theories Part 1
- Body: Who is Rey?
- Click the 3-dot icon > Edit
- Using the mouse, attempt to place the cursor at the end for the first line. However, the cursor is placed at the beginning of the first line. Only by using the End command (or in some cases the FN + End) on the keyboard can the user reach the end.
Resolution
Status: Workaround Available
Several workarounds are available for this issue:
- Because this issue is specific to Microsoft Edge, consider using another browser at this time. This error is not present in the latest versions of Mozilla Firefox or Google Chrome.
- Customers are always able to upgrade their CKEditor to the latest version if it contains the fix. However, this is a customization not fully supported by Liferay.
Additional Information
See Edge loses selection position when focused the first time #1923 for more information on the CKEditor updates.