Bug 34840 - Add 'add page-section' button to TinyMCE for staff blocks
Summary: Add 'add page-section' button to TinyMCE for staff blocks
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 34839 3419
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-20 10:34 UTC by Martin Renvoize (ashimema)
Modified: 2023-09-20 13:16 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize (ashimema) 2023-09-20 10:34:18 UTC
The staff client refresh means we have some consistent style elements to pick from when adding our own custom blocks using HTML customisations and friends.

The challenge for those using TinyMCE is that we don't offer any customised buttons for these in the rich editor.

I think we should start by adding a 'Add block' button to the editor when editing an intranet facing content block.. should would result in a <div class="page-section"></div> getting added to the editor textarea allowing users to enter their content within it and thus keeping a consistent style throughout the staff client.

This is especially important with bug 6419 coming up and would really benefit from bug 34839 being pushed alongside it.