TinyMCE editor not showing in PDF Templates after adding a wysiwyg field #10574
Labels
Area: Module
Issues & PRs related to modules that do not have specific label
Area: PDFs
Issues & PRs related to all things regarding PDFs
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
In the PDF Templates module, when creating a WYSIWYG type field in Studio and adding it in the editing view, when accessing the editing view, the editor is not displayed in all fields that show a rich text editor.
Possible Fix
It seems that the error occurs because another TinyMCE configuration is already preloaded in the PDF Templates module's editing view.
Checking the plugins that are added in the include/SugarFields/Fields/Wysiwyg/SugarFieldWysiwyg.php file seems to fix it:
Steps to Reproduce the Issue
Context
No response
Version
7.14.5
What browser are you currently using?
Firefox
Browser Version
131.0.3 (64-bit)
Environment Information
MySQL, PHP Version 8.2
Operating System and Version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: