I’m using the latest version 5.4.0, Node.js TiddlyWiki. Then I discovered a problem.
Reproduction process
Open the TiddlyWiki documentation, find the SampleWizard, and create a new class field with a value of tc-modal-centered fold-text-modal. And create a new entry with the following content, and add the tag $:/tags/Stylesheet
The AI explained that it was because the corresponding Settings were modified, but I couldn’t find it and have no idea where to start the modification. It’s not clear whether it was caused by the update of version 5.4.0, but it’s highly likely that this issue did not occur in the previous version 5.3.8.
add field class containing value tc-modal-centered fold-text-modal
Press “done” (checkmark) to complete edit
create “TestStylesheet”, tagged with $:/tags/Stylesheet and containing CSS text as posted above
Press “done” (checkmark) to complete edit
In rendered “SampleWizard” tiddler, press “nest wizards” button
Modal “I’m another modal wizard” is displayed
In modal, press “nest wizards” button
RSOE occurs: Uncaught InvalidCharacterError: Failed to execute ‘add’ on ‘DOMTokenList’: The token provided (‘tc-modal-centered fold-text-modal’) contains HTML space characters, which are not valid in tokens.
This may be a BUG that needs to be noticed by developers. I don’t know if version 5.4.1 will be released to fix it. Because I really need this feature.