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

Adding data-options to image link #81

Open
valokammi opened this issue Mar 20, 2019 · 1 comment
Open

Adding data-options to image link #81

valokammi opened this issue Mar 20, 2019 · 1 comment

Comments

@valokammi
Copy link

valokammi commented Mar 20, 2019

I`m using Lightbox2 in my site. I want inserted image to be able to open lightbox window when clikced image. What is need for that is to have data-lightbox="value" data option in to tinymce-rte template.

Is there a way to do this? System setting maybe?

@matdave
Copy link
Contributor

matdave commented Jul 23, 2019

This can be completed with a combination of adding an external config JSON file in tinymcerte.external_config and setting the valid_elements https://www.tiny.cloud/docs-4x/configure/content-filtering/#valid_elements

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

No branches or pull requests

3 participants