Created Plugin with WYSIWYG Text using quilljs

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
macgritsch
Posts: 5
Joined: 05 Nov 2025, 23:39

Created Plugin with WYSIWYG Text using quilljs

Post by macgritsch »

Hi,

today I created my first plugin.
It allows you to format text in plugin description and notes.
It is a WYSIWYG-Editor - powered by https://quilljs.com

It is a quick and dirty plugin and maybe needs a lot of refining and fixing, but it seems to work fine for my internal bugtracking system (no security risk).

Not sure if I should upload it and if someone has interest to continue this work.

Attached are two screenshots (the first one shows the editor and the second one shows the result when the note is posted).
Attachments
viewer.png
viewer.png (318.07 KiB) Viewed 201 times
editor.png
editor.png (366.37 KiB) Viewed 201 times
macgritsch
Posts: 5
Joined: 05 Nov 2025, 23:39

Re: Created Plugin with WYSIWYG Text using quilljs

Post by macgritsch »

Attached is the current sourcecode.
Feel free to modify and share.
Use at your own risk!
Attachments
Quill.zip
(63.38 KiB) Downloaded 22 times
sintaq
Posts: 83
Joined: 12 Oct 2017, 11:38

Re: Created Plugin with WYSIWYG Text using quilljs

Post by sintaq »

thanks. am downloading and testing it in my dev environment
sintaq
Posts: 83
Joined: 12 Oct 2017, 11:38

Re: Created Plugin with WYSIWYG Text using quilljs

Post by sintaq »

i found minor conflict when using your plugin with NoteReply plugin (https://github.com/intra2net/mantisbt-note-reply)
macgritsch
Posts: 5
Joined: 05 Nov 2025, 23:39

Re: Created Plugin with WYSIWYG Text using quilljs

Post by macgritsch »

I have created a patch for the NoteReply-PlugIn.
With this, it seems to work fine in my dev-environment.

Attached is the patch.
I could also replace the Reply-Buttons from the Quill-Plugin but I have to check few things for that.
Attachments
patch.diff.zip
(913 Bytes) Downloaded 13 times
macgritsch
Posts: 5
Joined: 05 Nov 2025, 23:39

Re: Created Plugin with WYSIWYG Text using quilljs

Post by macgritsch »

Now I have integraded a quick-and-dirty fix for the NoteReply-Plugin.

I have also added a button that floats over selected text (see attached screenshot).
It can also be used to create a reply. Quick and dirty as always.

Simply replace the attached file.
Attachments
Reply.png
Reply.png (83.42 KiB) Viewed 101 times
quill-init.js.zip
(2.09 KiB) Downloaded 9 times
Post Reply