We have a set of customized RTE Plugins used in our project. These RTE plugins when used in a dialog are working fine. However, if the same are tried to be used from a full screen dialog, they're not working, meaning, nothing happens while we click the plugin on a full-screen dialog. This behavior is noticed intermittently.
Any pointers on how to troubleshoot this issue?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @pixislinger
Seems there is an error in either OOTB js or your custom plugin JS.
could you please check which file has the error ?
If it is related to adobe then open a ticket for Adobe.
Hi @pixislinger
Can you please check the browser console for error? try to add some debug statement to check where is it failing.
Here is the custom plugin example which works in full screen as well
https://aemlab.blogspot.com/2019/07/aem-rte-custom-plugins-1.html
I see the following error on the JS console. This is happening when I click on the "Add" for the multifield text. Once the new textbox is opened, nothing happens when I click on the custom plugin.
Uncaught TypeError: Cannot read properties of undefined (reading 'sourceEditMode')
at Object.validate (all.ACSHASH3365dc52da622b23b3c03e4dc96039d9.js:115:40)
at HTMLValidation.<anonymous> (foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:2211:27)
at everyReverse (foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:247:35)
at HTMLValidation.checkValidity (foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:2202:13)
at foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:2376:40
at Array.every (<anonymous>)
at Object.isValid (foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:2369:51)
at enable (foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:11128:74)
at foundation.ACSHASHdf4dc6752c84b5108555451981bffd91.js:11136:17
Hi @pixislinger
Seems there is an error in either OOTB js or your custom plugin JS.
could you please check which file has the error ?
If it is related to adobe then open a ticket for Adobe.
@pixislinger , Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community