Select custom colors and add them to the color panel for easy user access, such as recent color lists.
On the event 'commands.after' should be possible to get 'customTextColor'
Actual behavior.
Currently the user needs to paste the custom color every time he needs to change the color in the text. In addition, if the user does not select the text to change, the error below occurs:
froala_editor.min.js: 7 Uncaught TypeError: Cannot read property 'tagName' of undefined
at Object.p [as openTagString] (froala_editor.min.js: 7)
at Object.t [as applyStyle] (froala_editor.min.js: 7)
at Object.i [as text] (plugins.pkgd.min.js: 7)
at b.Bootstrap.callback (plugins.pkgd.min.js: 7)
at Object.n [as exec] (froala_editor.min.js: 7)
at i (froala_editor.min.js: 7)
at r (froala_editor.min.js: 7)
at t (froala_editor.min.js: 7)
at b.Bootstrap.c (froala_editor.min.js: 7)
at o (froala_editor.min.js: 7)
at HTMLSpanElement. (froala_editor.min.js: 7)
at HTMLDivElement. (froala_editor.min.js: 7)
On the event 'commands.after' the parameter 'customTextColor' is null
Steps to reproduce the problem.
Click on the text color button and type a color for example '#4efc03' and then it will show the error on the console over the tagName.
Click on the text color button and add a custom color, type more text and try to color the same color and another part of the text, and you will have to type the color again.
Expected behavior.
Select custom colors and add them to the color panel for easy user access, such as recent color lists.
On the event 'commands.after' should be possible to get 'customTextColor'
Actual behavior.
Currently the user needs to paste the custom color every time he needs to change the color in the text. In addition, if the user does not select the text to change, the error below occurs:
froala_editor.min.js: 7 Uncaught TypeError: Cannot read property 'tagName' of undefined at Object.p [as openTagString] (froala_editor.min.js: 7) at Object.t [as applyStyle] (froala_editor.min.js: 7) at Object.i [as text] (plugins.pkgd.min.js: 7) at b.Bootstrap.callback (plugins.pkgd.min.js: 7) at Object.n [as exec] (froala_editor.min.js: 7) at i (froala_editor.min.js: 7) at r (froala_editor.min.js: 7) at t (froala_editor.min.js: 7) at b.Bootstrap.c (froala_editor.min.js: 7) at o (froala_editor.min.js: 7) at HTMLSpanElement. (froala_editor.min.js: 7)
at HTMLDivElement. (froala_editor.min.js: 7)
On the event 'commands.after' the parameter 'customTextColor' is null
Steps to reproduce the problem.
Editor version.
3.2.6
YOU.
MacOS - 11.1
Browser.
Google Chrome - 88.0.4324.146