How to Modify Existing Smiley Plugin in Liferay 7 CKeditor
By Mahipalsinh Rana August 11, 2018
Prerequisite to Mondify Smiely Plugin in Liferay 7 Ckeditor:
As we know, Liferay 7 provides different WYSIWYG editors the portal. In this article we will modify the CKEditor plugins configurations. By default, on Liferay 7 fresh setup AlloyEditor is available in portal. We can change to CKEditor by setting following properties in porta-exp.properties file for different portlets.
I have set CKEditor for DDL, Blogs and Web Content Articles.
Modify existing CKEditor plugin configurations:
We can also modify the configuration of the existing plugins by creating module with help of Liferay Document modifying an editor’s configuration.
Here, we will modify configuration of Smiley Plugin. We will remove some smiles.
Create module to modify plugin configuration for CKEditor. The steps has been explained in the Liferay Document modifying an editor’s configuration. a. In the steps in document, replace editor.name to ckeditor as we will configure plugin for CKEditor.
Now, as the smiley plugin already available in CKEditor in Liferay, we get following set of smileys with smiley descriptions which displays in tooltip. You can find this default configuration in smiley plugin.
Here, I have removed angry, heart, kiss and broken heart smiles from the JSON.
Done, After deploying this module in portal, only included smiles in JSON will be available.
INEXTURE known as leading Liferay consulting services provider in India, deliver the best in class solutions that improve the effectiveness and efficiency of the product. Our highly experienced team provides crucial process backbone and framework for every product and this will enable instant and collaborative application development.
Bringing Software Development Expertise to
Every Corner of the World
United States
India
Germany
United Kingdom
Canada
Singapore
Australia
New Zealand
Dubai
Qatar
Kuwait
Finland
Brazil
Netherlands
Ireland
Japan
Kenya
South Africa
Inexture is a decision you won’t regret. We think outside the code. From conceptualization to deployment, we pledge to bestow inventive and dependable software solutions that empower you to maintain an edge in the competitive landscape.
Inexture is a decision you won’t regret. We think outside the code. From conceptualization to deployment, we pledge to bestow inventive and dependable software solutions that empower you to maintain an edge in the competitive landscape.