Skip to content

Firefox: Selecting all and typing a new text removes <p> tags #207

Description

@shardator

When I select all in a medium.js rich editor div, and type something (even in the demo http://jakiestfu.github.io/Medium.js/docs/) the div gets all <p> tags removed, and raw text is placed in the div. After that it is only a simple plain text editor without paragraphs and any formatting, until I clear it, unfocus it and go back.

The problem is non-existent in Chrome.

    new Medium({
        element:     document.getElementById('task-edit-1'),
        mode:        Medium.richMode,
        autoHR:      false,
        placeholder: 'What to do next...'
    });

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions