Bug 34840

Summary: Add 'add page-section' button to TinyMCE for staff blocks
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6419
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 34839, 3419    
Bug Blocks:    

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.