Skip to content

Cannot remove h2,h3 after removing and re-adding line break #1053

Open
@adamiprinciples

Description

@adamiprinciples

To reproduce: goto https://yabwe.github.io/medium-editor/demo.html and clear the contents

  1. Type 'Hello World'
  2. Press enter
  3. Type 'Goodbye World'
  4. Highlight the first line and click 'H2'
  5. Put the cursor at the end of the line and press your delete key
  6. Press 'Shift'+'Enter' to create a single break
  7. Highlight 'Hello World' header and try to click 'H2' to toggle it

Observe the weird behaviour. The only way I've found to fix it is to delete everything and start again

(In Chrome 49.0.2623.110 on Mac OSX 10.11.1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions