TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8.09k stars 1.19k forks source link

fatal error involving infinite recursive transclusion of edit template #2813

Open mgroth0 opened 7 years ago

mgroth0 commented 7 years ago

I tried to debug this myself quite a bit but fell short of understanding the dev tools and being able to investigate further.

So that's the moment when I called it and gave up. My main question is this: Why can't I step into createElement("iframe") in tiddlywiki.com? You can see for yourself by putting a breakpoint on the lines I mentioned and editing any tiddler.

linonetwo commented 2 years ago

I've encounter this too, I'm trying to use

{{$:/state/Calendar/PageLayout/create-tiddler||$:/core/ui/EditTemplate/body}}

in a modal created by

new TWModal($tw.wiki).display('$:/plugins/linonetwo/tw-calendar/calendar-widget/tiddlywiki-ui/CreateNewTiddlerPopup', { maskClosable: true });

I think in a modal, something is different...

linonetwo commented 2 years ago

step into createElement("iframe")

This is a browser api, you can't step into it.

linonetwo commented 2 years ago

This bug happened when edit-text widget has toolbar.

Jermolene commented 2 years ago

Thanks @linonetwo can you show a minimal test case to reproduce the error on tiddlywiki.com?