Issue
-
When lengthy web content with images has been uploaded, the portal starts to lag, and it takes a very long time for the cursor to appear.
-
Users are struggling greatly with the lagging issue even when manually adding text. The text appears on the screen after 40–50 seconds.
-
Users are therefore unable to publish finished case studies or other web content.
-
Environment
- Liferay DXP 7.2
Resolution
-
Users will sometimes copy the entire content and paste it multiple times, assume 15-20 times, on the default editor, i.e., Alloyeditor. They don't have any challenges at this point.
-
However, when they copy and paste images into the editor, a reported behavior of the portal occurs as it is not feasible to guarantee that copy-paste will work here, and, therefore, they need to use the provided '+' icon option to easily select images from the document media portlet or from their system storage.
-
Additional Information
- Liferay is unable to edit this functionality at the editor level since pasting the images directly is a feature that is limited to the editor : [CKEditor] Copy-pasting images in the editor does not work
-
Please add the following property in portal-ext.properties to create content with more than 256 KB. By default, the value is set to 256 KB: Unable to create a Web Content with size more than 256KB
# Set the threshold size to prevent extraneous serialization of uploaded
# data.
#
com.liferay.portal.upload.LiferayFileItem.threshold.size=262144