tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.08k stars 208 forks source link

disabled props is true when component first mounted,the fontselect toolbar was empty #386

Closed trcat closed 4 months ago

trcat commented 1 year ago

What is the current behavior?

disabled props is true when component first mounted,the fontselect toolbar was empty

this is the code

<template>
  <Editor api-key="no-api-key" :init="initConfig" :disabled="true"></Editor>
</template>

<script>
import "tinymce/skins/ui/oxide/skin.min.css"
import Editor from "@tinymce/tinymce-vue"

export default {
  name: "editor-demo-iframe",
  data() {
    return {
      initConfig: {
        toolbar: [
          "fontselect | fontsizeselect | bold italic underline strikethrough | forecolor backcolor | alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | removeformat | subscript superscript | charmap | emoticons | fullscreen | preview | print | help",
        ],
      },
      disabled: false
    }
  },
  components: {
    Editor,
  },
}
</script>

image

What is the expected behavior?

disabled props is true when component first mounted,the fontselect toolbar has value

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

vue: 2.7.17 tinymce/tinymce-vue: 3.2.8 browser/OS: chrome(last version) / windows 11

TinyITAdmin commented 1 year ago

Ref: INT-3193

tiny-stale-bot commented 4 months ago

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 commented 4 months ago

This issue was closed because it has been stalled for 7 days with no activity.