Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在单个页面中使用 tinymce 来处理多个实例,有时我尝试使用 Tinymce。tinymce 没有按预期工作。
这是问题的屏幕截图
attrs.$set('id', ID_ATTR + '-' + (new Date().valueOf()));
更改上面的行:
var generatedIds = 0; // generate an ID if (!attrs.id) { attrs.$set('id', 'uiTinymce' + generatedIds++); }