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).
Created Plugin with WYSIWYG Text using quilljs
Moderators: Developer, Contributor
-
macgritsch
- Posts: 5
- Joined: 05 Nov 2025, 23:39
Created Plugin with WYSIWYG Text using quilljs
- Attachments
-
- viewer.png (318.07 KiB) Viewed 201 times
-
- 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
Attached is the current sourcecode.
Feel free to modify and share.
Use at your own risk!
Feel free to modify and share.
Use at your own risk!
- Attachments
-
- Quill.zip
- (63.38 KiB) Downloaded 22 times
Re: Created Plugin with WYSIWYG Text using quilljs
thanks. am downloading and testing it in my dev environment
Re: Created Plugin with WYSIWYG Text using quilljs
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
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.
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
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.
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 (83.42 KiB) Viewed 101 times
-
- quill-init.js.zip
- (2.09 KiB) Downloaded 9 times