Open dagraf opened 2 years ago
The old tinyMCE-Editor can no longer be used in the new ILIAS-Forms. The Editor will be deprecated in more and more places in ILIAS. Soon the tinyMCE-Editor wil be replaced by a markdown editor. But the markdown editor is not yet available.
We could parse the output for possible links and make them clickable. I am assuming that the editor is mostly used to insert links.
Ok, let's implement "parsing the output for possible links and make them clickable" until the new markdown editor is implemented. @okaufman Could you please do this and give us an update when the markdown editor is working? Thx!
The Markdown-Input has been implemented for ILIAS 9: https://github.com/ILIAS-eLearning/ILIAS/pull/5152
The Markdown-Input has been implemented for ILIAS 9: ILIAS-eLearning/ILIAS#5152
@chfsx > Which means that this issue will be solved with ILIAS 9?
@dagraf This does not directly solve the problem, we will then also include this form field (type) in the plugin so that it can be used. We also have to "migrate" the existing content in some way. So far, HTML was generated and saved with the old input, with the new input we will generate and save Markdown. Therefore, the existing content would have to be converted once from HTML to Markdown, which will not work in all cases. or we remove all HTML tags once.
@chfsx Thx for the explanation. About migration we start to think when ILIAS 9 is around the corner. One question I still have: Does this new form field include visual UI options (meaning buttons) to format text? In my opinion, such options are crucial to make formatting as easy as possible (for most users).
@dagraf yes there are several buttons which help for the most common actions:
Describe the bug All textboxes are missing options to formate inserted text (i.e. "Work instruction" in Settings-Tab of a series, "Info Text" in sub-tab "Events" of the plugins configuration possibility
To Reproduce Steps to reproduce the behavior:
Expected behavior Written text should be formatable (bold, italic, ..., hyperlink, source code).
Screenshots v3.6.1:
v4.0.1