RTE Color Picker Not working

Avatar

Avatar

vivianseba

Avatar

vivianseba

vivianseba

30-09-2020

Hi,

I have upgraded application from AEM 6.4.2 to AEM 6.4.8.2 SP and after the upgrade In the RTE color picker feature is not working and getting the dialog like below

vivianseba_1-1601474221525.png

 

I have referred this blog - http://experience-aem.blogspot.com/2018/05/aem-64-touch-ui-rte-rich-text-editor-color-picker-plugin....  and implemented the RTE color picker feature in aem 6.4.2.
Could you please suggest with solution for this issue ?

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vishalverma

Avatar

Vishalverma

Vishalverma

30-09-2020

@vivianseba Try adding below check before calling function addDialogTemplate() in color-picker.js;

if (document.location.pathname.indexOf("/editor.html/") > -1) {
        addDialogTemplate();
    }

Answers (3)

Answers (3)

Avatar

Avatar

pkrish61

Avatar

pkrish61

pkrish61

26-02-2021

If you are still facing the issue, 

 

Create underscore.js and handlebars.js files in color picker component's client libs and add them to js.txt before component.js name. It appears aem 6.4.8.2 is not loading the required dependencies so we had to add them into component client libs.

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

884

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

884
Arun_Patidar
MVP

01-10-2020

Can you check if underscore js is loading or not? mentioned as a dependency for RTE color picker

https://github.com/schoudry/eaem-extensions/blob/master/eaem-64-extensions/eaem-touchui-dialog-rte-c...

 

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

30-09-2020

Can you check this http://experience-aem.blogspot.com/2017/06/aem-63-touch-ui-rte-rich-text-editor-color-picker-plugin-...and implement the color plugin as described on this blog?