Skip to content

WYSIWYG Editors: Inconsistent collapsible block header double click behaviour #6059

@ssddanbrown

Description

@ssddanbrown

Describe the Bug

In tinymce we provide the ability to set the label via double clicking the header bar:

editor.on('dblclick', event => {
if (!getSelectedDetailsBlock(editor) || event.target.closest('doc-root')) return;
showDetailLabelEditWindow(editor);
});

This however fails for nested collapsible blocks, and is not supported in the new WYSIWYG editor.
This behaviour should be aligned.

Steps to Reproduce

  1. Edit page in a WYSIWYG editor.
  2. Insert a collapsible block, and another within the first.
  3. Test double clicking header bars.

Expected Behaviour

Double clicking header bar should consistently provide the option to edit the label.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v25.12.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions