Issue
- Copied the data from the Word file, pasted it into the Message Boards's Thread, and published it. After publishing the Thread, the number list is not continued and shows like:
1.
a.
1.
a.
1
a.
-
Steps to reproduce:
- Navigate to the Content & Data > Message Boards > click on the action button(⋮) > Configuration > General > Message Format and change it from 'BBCode' to 'HTML'.
- Again navigate to the Content & Data > Message Boards > click on the
icon, and select 'Thread'.
- Fill the 'Subject', copy the data and paste it into the Message Board's Thread 'Body', and Publish it. (Data attached for the same).
Observed Behavior: The number list was not continued and it showed.
1. a. b. 1. a. b. 1. a. b.
Expected Behavior: The number list should be continued and shown like this.
1. a. b. 2. a. b. 3. a. b.
Environment
- Liferay DXP 7.4 update 92 and above releases
Resolution
- The 'CKEditor 4' offers a variety of features, but there are some limitations. One such limitation is pasting content directly from MS Word. Kindly check: CKEditor 4 demo
- If the requirement is to paste the content from MS Word into CKEditor, there might need to adjust the editor's configuration or install a plugin like "Paste from Word".
-
This plugin can be helpful because it preserves list formatting when pasting from Word, including numbering, styling, and indentation.
On a side note: Please choose to follow unofficial articles at your own discretion as these threads are not the official documentation of Liferay.
Additional Information
- Kindly review: LPD-11235