tinymce-vue icon indicating copy to clipboard operation
tinymce-vue copied to clipboard

It takes about a second to load, so the textarea is visible for a bit longer than in TinyMCE

Open sonsu95 opened this issue 1 year ago • 5 comments

What is the current behavior?

I first imported and used TinyMCE in Quasar

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

The repository I cloned from the official documentation shows the same slow loading time.

What is the expected behavior?

The textarea should not be displayed and TinyMCE should be displayed immediately.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-vue?

 "@tinymce/tinymce-vue": "^5.1.0",
 "tinymce": "^6.4.2",

&&

quasar, webpack

&&

Latest version of Chrome browser

&&

using Windows11


I think the same issue existed before, but it still doesn't seem to be resolved, is this something that can be fixed? https://github.com/tinymce/tinymce-vue/issues/219

sonsu95 avatar Jun 11 '23 09:06 sonsu95

Ref: INT-3190

TinyITAdmin avatar Jun 11 '23 09:06 TinyITAdmin

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

tiny-stale-bot avatar Jul 09 '24 00:07 tiny-stale-bot

What's the solution to this problem?

citrusjunoss avatar Jul 11 '24 09:07 citrusjunoss

@citrusjunoss TinyMCE provides events such as init that you should be able to wait on before mounting/rendering the component. In doing so you can omit rendering anything before the editor has finished initialising. Alternatively you could show a spinner or something similar.

If you need a Vue specific implementation to this, let us know and we can help further.

danoaky-tiny avatar Jul 11 '24 20:07 danoaky-tiny

@citrusjunoss TinyMCE provides events such as init that you should be able to wait on before mounting/rendering the component. In doing so you can omit rendering anything before the editor has finished initialising. Alternatively you could show a spinner or something similar.

If you need a Vue specific implementation to this, let us know and we can help further.

It's a good interaction program

citrusjunoss avatar Aug 01 '24 07:08 citrusjunoss