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
Liferay 7 - Customizing default values of ckeditor table options
I have a situation where I need to change some of the default values that are shown in the dialog box that opens on clicking the 'table' icon from the icons available in the ckEditor. Is there a way to achieve this?
In 6.2 this was achieved via hooking ckeditor related JSPs, however that particular piece of code has been moved to 'dialog_definition.js' in liferay 7. So basically I am trying to override a liferay JS file.
Thanks in advance.
Attachments:
Shubhankit Roy:I have a situation where I need to change some of the default values that are shown in the dialog box that opens on clicking the 'table' icon from the icons available in the ckEditor. Is there a way to achieve this?
In 6.2 this was achieved via hooking ckeditor related JSPs, however that particular piece of code has been moved to 'dialog_definition.js' in liferay 7. So basically I am trying to override a liferay JS file.
Thanks in advance.
Hi, did you read https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/adding-new-behavior-to-an-editor already ? Based on the topic and steps, it seems pertinent to your requirement.
Hi Alfonso
Thanks for pointing me to this! Somehow I missed checking this one earlier.
This was helpful indeed.
Thanks & Best
Shubhankit Roy
Powered by Liferay™