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

wysiwyg editor in gantry layout designer #2562

Open
flosie25 opened this issue Nov 1, 2019 · 3 comments
Open

wysiwyg editor in gantry layout designer #2562

flosie25 opened this issue Nov 1, 2019 · 3 comments

Comments

@flosie25
Copy link

flosie25 commented Nov 1, 2019

Is there any possiblity to integrate an html editor in the "Custom HTML" Particle? I use Joomla with TinyMCE-Editor. That would be very useful, because it is really user-unfriendly to type plain html.

@mahagr mahagr added the feature label Dec 17, 2019
@mahagr
Copy link
Member

mahagr commented Dec 17, 2019

There is support for this in Joomla, but it's not used as other systems do not have support for it.

You can edit the particle YAML file and change the field type to editor instead of using textarea. I've not tested it for a bit, but it should still work.

@flosie25
Copy link
Author

I changed the type field in the yaml file from textarea.textarea to textarea.editor. After that there are some indications for a editor, but the editor loads not correctly. I also have a error in the debugger console 'Uncaught ReferenceError: tinyMCE is not defined'. Do i need to manually load the editor files and how can i do this?

I use the latest version of Gantry 5.4.31.

image

@mahagr mahagr removed the question label Dec 17, 2019
@mahagr
Copy link
Member

mahagr commented Dec 17, 2019

Umm, looks like it's not being used because of the field does not work with AJAX.

@mahagr mahagr added this to the 5.5.0 milestone May 13, 2021
@mahagr mahagr modified the milestones: 5.5.0, 5.5.x Oct 20, 2021
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

2 participants