Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Fix deleting styled blocks #3

Merged
merged 2 commits into from
Sep 22, 2017
Merged

Fix deleting styled blocks #3

merged 2 commits into from
Sep 22, 2017

Commits on Sep 22, 2017

  1. Fix deleting styled blocks

    When the first thing in an editor is an styled block you cannot get rid
    of it, it'll always stay styled, because backspace only deletes the
    content.
    
    This patch fixes the issue by introducing custom behaviour for this
    specific condition: If we're in the first block of the editor, it's a
    styled block, the block is empty and we press backspace we change the
    block type to 'unstyled'.
    
    Fixes ngs#31
    mxstbr committed Sep 22, 2017
    Configuration menu
    Copy the full SHA
    a4ef4ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c15dc1 View commit details
    Browse the repository at this point in the history