Skip to content
This repository was archived by the owner on Feb 7, 2021. It is now read-only.
This repository was archived by the owner on Feb 7, 2021. It is now read-only.

TypeError: Cannot read property '0' of null #19

Description

@emaborsa

Your example does not work in the most of options of the toolbar. I get TypeError: Cannot read property '0' of null since in the simditor-all.js on line 2731 ($startBlock = this.editor.util.closestBlockEl(startNode);) the function closestBlockEl always returns null.

simditor-all.js:2734 Uncaught TypeError: Cannot read property '0' of null
at TitleButton.command (simditor-all.js:2734)
at HTMLAnchorElement.<anonymous> (simditor-all.js:2467)
at HTMLLIElement.dispatch (jquery.js:4405)
at HTMLLIElement.r.handle (jquery.js:4091)

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