Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Copy paste image from Mail, Word to CKEditor 4.11.4 is not working
Hello Team,
We are using Liferay DXP 7.2(liferay-dxp-7.2.10-ga1). We have CKEditor field in custom form. CKEditor version is 4.11.4. Now user wants to copy paste image from Mail(Lotus Notes), Word, PPT or using snipping tool to ckeditor but we can't able to copy paste image in existing version of CKEditor.
How I can provide this functionality in existing version of CKEditor or how I can upgrade/update CKEditor to specific latest version 4.15.1 in Liferay DXP 7.2.
Please help.
Hi,
I see already ckeditor in liferay is doing to copy paste operation, do u have any specific scenario not working ?
Also if you refer below link it has list of plugins , some referring to copy/paste (clipboard,pastefromword,pastetext) you can try adding them and check
https://help.liferay.com/hc/en-us/articles/360017892052-Introduction-to-CKEditor-Plugin-Reference-Guide-
Hi Yasin,
Although plugins are already there user is not able to copy/paste image to CKEditor(4.11.4) from word in chrome browser and as per my knowledge in recent updates of ckeditor even in chrome browser we can copy/paste images as they have added some new plugins related to inserting images to ckeditor.
Even I have tried to find ckeditor.js so that I can override it to specific version but I didn't find ckeditor.js file in source code of frontend-editor-ckeditor-web module. It is loaded in resources.jsp like below:
<script data-senna-track="temporary" src="<%= HtmlUtil.escapeAttribute(PortalUtil.getStaticResourceURL(request, themeDisplay.getCDNHost() + PortalWebResourcesUtil.getContextPath(PortalWebResourceConstants.RESOURCE_TYPE_EDITOR_CKEDITOR) + "/ckeditor/ckeditor.js", javaScriptLastModified)) %>" type="text/javascript"></script>
Prior to Liferay 7 we can override ckeditor version by creating hook. Is anyone knows how we can provide copy paste images from word functionality in chrome browser or how we can upgrade to specific version of ckeditor?
Please help.
Thank you.
Powered by Liferay™