Open RafaCBarros opened 2 years ago
I can confirm this happens on a completely blank world with only Monk's Enhanced Journal enabled. Foundry VTT Version 9, Build 245 Monk's Enhanced Journal v1.0.43
This appears to still be happening on Monk's Enhanced Journal v 10.6 and Foundry VTT Version 10, build 291. I see there's now an option for adding a "system tag" but it seems to not have any effect.
I dunno how this issue got there, but it wasn't there and I don't know if you guys know about it either, so here I am. Note: I did run the World in safe mode and activated ONLY Monk's Enhanced Journal
Game System: Pathfinder 2e Version: 1.0.39 Last Time it worked as intended: 30th December 2021 Issue: When the Journal renders, the styling from Custom formats disappears. Replicating: Using PF2e as your system (to have access to Custom Formats), create a journal entry. Use a format like 'Stat Block' or 'Trait' and save. It appears one way on the editor, but when it renders it is un-formatted.
What is supposed to look like saved/rendering (pf2e.JournalSheet):
How it looks like (rendered)
How it looks like (editing)
What I could find out
I inspected the elements, just to see if I could find what was happening. During edit, the container 'iframe' gets an HTML where the body has the id 'tinymce' and when I put that same id on the editor-content div the rendered journal it seems to fix some of what I was expecting .
Without the id="tinymce" (tag
<div data-edit="content" class="editor-content">
) With id="tinymce" (tag<div data-edit="content" id="tinymce" class="editor-content">
)