You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current behavior?
I am using free version of tinymce 7 via npm on my angular application.
The installation was basically following instructions on this page https://www.tiny.cloud/docs/tinymce/latest/angular-pm/#procedure.
When I load the page that contains the editor, I get the following error:
Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
importtinymce,{Editor}from'tinymce';//...tinymce.init({selector: `#${this.selectorId}`,base_url: '/tinymce',// Root for resourcessuffix: '.min',// Suffix to use when loading resourcescontent_css: 'text-editor.content.css',resize: false,inline: true,// TODO: IF false > breaks comments highlithing featuremenubar: 'edit view insert format tools table',statusbar: false,plugins: ['preview','importcss','searchreplace','autolink',// creates auto links when user types URL'directionality',// to be compatible with languages LTR and RTL'code','visualblocks','visualchars','fullscreen','image','link',// to have support for link'media','codesample','table','charmap','pagebreak','nonbreaking','insertdatetime','advlist','lists',// to have support for numlist bullist'wordcount','charmap','quickbars',// for selection toolbar'emoticons'],quickbars_insert_toolbar: '',quickbars_selection_toolbar: 'askAiBtn | btnAddComment',toolbar: ['undo redo | blocks fontsize | bold italic underline strikethrough | align numlist bullist | link image',' table media | outdent indent| forecolor backcolor removeformat | charmap emoticons | code fullscreen preview | print | pagebreak codesample | ltr rtl'],extended_valid_elements: 'comment[id]',placeholder: translatedPlaceholder,directionality: this.directionality,contextmenu: 'link image table',setup: (editor)=>{this._editor=editor;}});
What is the expected behavior?
Loading the editor correctly
Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular?
Works on:
Firefox 127.0 (64-bit)
Google Chrome Version 127.0.6533.120 (Official Build) (64-bit)
Does not work:
Microsoft Edge Version 127.0.2651.98 (Official build) (64-bit)
Same error.
Files, folders and lines equal with prod and qa env. but I'm getting this error at prod env. I consumed aprox 1 hole day but I couldn't find any reason.
I had the same problem today. Also only in EDGE. I found out, that it is caused by browser's cache. EDGE served tinymce resources like theme.min.js from browser's memory cache. Refresh did not help.
Solutions:
clear cache by deleting browser history
open EDGE in inPrivate/incognito mode
programatic solution is to make dynamic base_url in tinymce.init({...}). Add some preffix or suffix so that every build has unique path to tinymce resorces.
tinymce.init({
selector: `#${this.selectorId}`,
base_url: `/${buildVersion}/tinymce`, // example of dynamic base_url
What is the current behavior?
I am using free version of tinymce 7 via npm on my angular application.
The installation was basically following instructions on this page https://www.tiny.cloud/docs/tinymce/latest/angular-pm/#procedure.
When I load the page that contains the editor, I get the following error:
Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
What is the expected behavior?
Loading the editor correctly
Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular?
Works on:
Does not work:
The text was updated successfully, but these errors were encountered: