Jons
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
yeah, sure, my system development is almost ready, I have to do some data entry and maybe some advanced feature to add later, thank you 🙂
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
Ok, thank you!
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
In any case thank you for your response, I will wait for a core update of foundry if that is the problem
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
I don't know if something important is missing there, I will do more digging later
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
In case of dropping into a journal entry the array of plugins contains 16 elements, in the other case has only 14 plugins
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
It seems that the difference is in this function here from foundry-esm
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
Ok, I want to add some other info:
Dropping a compendium item into a journal entry works fine, so I tried to understand what is the difference
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
The TinyMCE version follows a totally different call stack so I'm a bit confused. I can try to understand if there is something broken in foundry v12
15 replies
TTyphonJS
•Created by TyphonJS (Michael) on 8/7/2024 in #typhonjs-runtime
ProseMirror UUID discussion
Sure. When I drop some Item data into ProseMirror editor I got whis Uncaught Error in console:
The parseUuid function has been called with these params:
Reading the function implementation, it seems that the function expects the string part of uuid as input "Compendium.fabulaultima.conditions.Item.6CQ3nO3ZLl148GMQ", and not a serialized json. That's the problem.
So can you confirm that is all happening inside foundry? (sorry, I'm a experienced developer, but I'm still quite new to foundry development and I still have to understand what belongs to core foundry and what to TJS)
I noticed that a TJS module is involved in the call stack (TJSPasteUUID.js) wich receive that input and pass it into parseUuid function
Some other info:
1. I tried to switch to <TJSTinyMCE> component and it works
2. I'm using foundry v12
15 replies