https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11583

--- Comment #20 from David Cook <[email protected]> ---
Created attachment 174868
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174868&action=edit
Bug 11583: Add WYSIWYG editor to HTML notices/letters

This change adds a WYSIWYG editor to HTML notices/letters.

Test plan:
0. Apply the patch
1. In "Local use" system preferences, create "UseWYSIWYGinNotices"
and set it to "1"
2. Go to http://localhost:8081/cgi-bin/koha/tools/letter.pl
3. Edit any template
4. Open the "Email" tab
5. Toggle "HTML message" on/off and see the WYSIWYG editor appear
and disappear
6. Try adding content with the "Insert->" button
7. For notices like AUTO_RENEWALS_DGST, try the "View default"
and "Copy to template" button.
(NOTE: You'll want to wrap the AUTO_RENEWALS_DGST text with <pre></pre>
so that it doesn't destroy your whitespace when converting to HTML)

8. Try adding text and formatting using the WYSIWYG
9. Try adding text and formatting using the "<>" source code button

NOTE: If you click on a template token in the WYSIWYG, you should
notice that it's uneditable. You must edit it in source code mode.
This is because in the WYSIWYG the template token has been converted
to a HTML friendly placeholder.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to