tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.06k stars 207 forks source link

как интергировать этот редактор в nuxt 2 / how to integrate this editor in nuxt 2 #300

Closed coaperator closed 2 years ago

coaperator commented 2 years ago

сабж. установил "@tinymce/tinymce-vue@^3" - для vue 2 но эта обертка TinyCloud загружает TinyCloud, заставить ее использовать self-hosted версию? нормальная, человеческая инструкция есть?

пс: пытаюсь все это поставить в nuxt 2


set "@tinymce/tinymce-vue@^3" - for vue 2 but this TinyCloud wrapper loads TinyCloud, make it use the self-hosted version? Is there a normal, human instruction?

ps: I'm trying to put all this in nuxt 2

exalate-issue-sync[bot] commented 2 years ago

Ref: INT-2780

jscasca commented 2 years ago

@coaperator there are two ways for you to use a self-hosted version:

1) You can load the TinyMCE script in your index.html file so that the global is available when your component loads. 2) You can make your self-hosted version publicly available and point to it using the tinymceScriptSrc property of the component. Docs example

Let me know if this helps