Allow adding text to pages with one click

Description

Background

When text is added to a page, a block is required. The block will be in the block list and will be shared. However, most of the text blocks will not be shared and it takes a lot of clicks to add the block.

Requirements

  • When editing a page, next to the "Add block", add an "Add text block" button

  • Click on the button will open a modal dialog for a new text block

  • The modal dialog will function like

  • When saving the block, the block will not be visible in the block overview or insert block dialog (the block cannot be shared)

  • When removing the block from the page, it need to be removed from the database as well (on save)

Technical approach

  • Maybe set a field "parent" to page-pageid to indicate a block to be for one page only. In the block overview only blocks without a parent will be shown.

Open modal dialog:

Create text block:

Technical tasks

None

Deployment actions

None

Activity

Show:
API
May 11, 2017, 12:07 PM

.Schatting van 15.25 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

Marijn Otte
May 30, 2017, 1:06 PM

Works nice, one small thing, the edit bar appears within the modal window:

Johan Liefers
May 30, 2017, 1:09 PM

I know, moet maar ander issue voor komen, zoals het nu wordt gedaan is het niet zo mooi. Ik moest van Janus de parameter perse page noemen, dan krijg je deze bar erbij.

Johan Liefers
May 30, 2017, 1:10 PM

Ik wil het wel fixen in INTEGRATED-1122, daar ben ik nu toch bezig met die toolbar

Marijn Otte
May 30, 2017, 1:12 PM

OK, I closed this issue

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Sprint

None

Fix versions

Configure