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

Toolbar configuration in tinymce.yaml takes no effekt #16

Open
kaistaerk opened this issue Sep 17, 2024 · 1 comment
Open

Toolbar configuration in tinymce.yaml takes no effekt #16

kaistaerk opened this issue Sep 17, 2024 · 1 comment

Comments

@kaistaerk
Copy link

Hello,

i tried to configure my toolbar. If doing this in the FormType (attr -> toolbar), it works a bit, because I need the link plugin, but this seems not to be configured. So i switched to tinymce.yaml and check the values.

tinymce:
  # The configurations mirror the TinyMCE attributes.
  # Learn more about each option in Tiny's documentation:
  # https://www.tiny.cloud/docs/tinymce/6/webcomponent-ref/
  skin: "oxide"
  content_css: "default"
  plugins: "advlist autolink link image media table lists"
  toolbar: "bold italic underline link | bullist numlist"

No matter what I enter there, it shows no change.

Any idea's?

Thanks
Kai

@EmilePerron
Copy link
Collaborator

Hi there! I'm a bit late, but I have two suggestions here.

First one would be to try switching to emileperron/tinymce-bundle - it is a fork of this bundle with some bugfixes and improvements (for context, I am the original author of this here bundle as well, but left the organisation and it is now not really being maintained as an open-source project anymore).

Second thing, which might seem obvious but could be the issue if you only recently created the tinymce.yaml config file: try clearing your cache with a good old bin/console cache:clear.

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants