mitydigital / statamic-tinymce-cloud

A Statamic fieldtype for TinyMCE using Tiny Cloud for Statamic 3.3+ and Statamic 4.0
https://docs.mity.com.au/tinymce-cloud
MIT License
2 stars 1 forks source link

Add custom sets #14

Closed sattyframework closed 2 weeks ago

sattyframework commented 2 weeks ago

Bug description

Hey there, just wondered if it is possible to add custom field sets to the tiny mce editor like you can with the bard editor?

Steps to reproduce

N/A

Environment and versions

N/A

Additional details

No response

martyf commented 2 weeks ago

Unfortunately no as they're very different in what they do.

Bard maintains everything as a structure (i.e. an array) where as this is plain HTML. The two aren't compatible.

If you're wanting sets, is there a reason you're not using a Bard field?

sattyframework commented 2 weeks ago

Ah no problems, I thought this would be the case but thought I'd double check. I was looking at using TinyMCE for its comments plugin.

martyf commented 2 weeks ago

Cool bananas - and yeah unfortunately very different ecosystems between the two so Sets are only in Bard.