TinyTJS Enriched options

So for the tinymce editor https://github.com/typhonjs-fvtt-lib/svelte-standard/blob/main/src/component/standard/editor/tinymce/TJSTinyMCE.svelte the repo shows that you can pass in options.enrichOptions. But in the browser enrichOptions doesn't exist that file.
No description
No description
4 Replies
TyphonJS (Michael)
TyphonJS (Michael)•5mo ago
Indeed this is one of those painful moments where improvements have been sitting around waiting for release since last October... 😦 There is a lot of good stuff waiting for release at the direct usable API level. I also have some additional spruce up of the editor components incoming with various changes made to Foundry between v11 / v12. IE the font definitions that Foundry stores silently changed data formats between v11 / v12. Lots of other nice things incoming with 0.2.0 like better secrets support. Attached is a git blame / pict showing the dates that enrichOptions was implemented which is after the 0.1.2 release. The recent hot patches didn't ship all of the other updated code that is still pending release. As mentioned this is going to be a rare slip up / dev cycle where things aren't as smoothly managed behind the scene and won't be repeated. I'm going to be bearing down and try hard to get the initial beta of 0.2.0 in the next month / ASAP..
No description
Nekro Darkmoon
Nekro DarkmoonOP•5mo ago
👌👌
TyphonJS (Michael)
TyphonJS (Michael)•5mo ago
If you do need to configure enrichOptions it does look like you can copy / paste onContentChanged to your local standard library install in TJSTinyMCE.svelte. I gather perhaps you have tried this already? Since it is pulling enrichOptions from the all inclusive options prop that should work.
Nekro Darkmoon
Nekro DarkmoonOP•5mo ago
what if I install svelte-standard straight from github 🤔 instead of npm would that cause any issues
Want results from more Discord servers?
Add your server