Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
trcat opened this issue Jun 19, 2023 · 1 comment
Labels

Comments

@trcat
Copy link

trcat commented Jun 19, 2023

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

@trcat trcat closed this as completed Jun 19, 2023
@trcat trcat reopened this Jun 19, 2023
Copy link

Ref: INT-3193

@trcat trcat changed the title Initial Disabled has a disabled props is true when component first mounted,the fontselect toolbar was empty Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants