I just tried out the TODO macro (https://extensions.xwiki.org/xwiki/bin/view/Extension/Todo%20Macro), and while it works fine if used in the Text Wiki Editor, it get’s totally messed up if I try to insert and use it using the Wysiwyg editor (using XWiki 10.8.1 in Chromium 70.0.3538.77).
Unfortunately I was not successful in Googling for existing Bug reports or documentation which describes the problems I’m facing and possible work arounds.
Using the Wysiwyg editor will sometimes create confusing visual artifacts and randomly delete individual adjacent TODOs (or even other adjacent content), possibly only leaving a single one…
Example: If I add a single “Test-Todo” to Xwikis Sandbox page just above the first real headline in the text, it’s apparently properly inserted, but hovering the mouse over the TODO will draw a highlighting frame around the TODO and nearly all of the subsequent page. The text below the TODO cannot be edited any more.
Saving the page causes all of the content to be removed from the new page version.
Trying to add some Todos next to each other will erase all but the last two added while editing, and after saving only a single TODO will survive. (https://www.youtube.com/watch?v=sqcLjcSloXs ?)
I also had the problem that the TODO which was inserted looked garbled, but I cannot currently reproduce this.
Inserting TODOs in Wiki text mode editor more or less works, but the TODOs description cannot be changed when clicking its “edit” button in view mode. If you click the “edit” button, an small editor box pops up where you can edit status, priority and description. Status and priority can be changed, but changing the description will not show any effect.
Another issue I’m facing with the TODO macro is that if it’s the first or last thing I add to a page, I do not get a text cursor in Wysiwyg mode and thus cannot add anything else to the page. Pressing Home or End keys doesn’t help. This actually sounds related to https://jira.xwiki.org/browse/XWIKI-4461, which is marked as “Closed”, but I could not find any way to enter text, no matter where I clicked, what I selected and where I tried to type. Pressing enter then just invokes the macro’s properties panel.
As a last issue, I’m also having trouble with the related Todo List macro which only displays some TODOs from my Wiki, but ignores most - even without any “Places” filter.
What could be the reason for this behaviour?
And what’s the actual Syntax for the places filter if I would want to use it? I read the whole Todo macro description but it only mentions restricting the filter to a single page (which also does not work for me), but I’d like to select Todos for a page and all its children - how to do this?