editor-js / header

Header Tool for Editor.js 2.0
MIT License
101 stars 122 forks source link

fix(undefined data): undefined issue in normalizeData member function #113

Closed dependentmadani closed 3 months ago

dependentmadani commented 3 months ago

Problem:

An issue of reading undefined by toString.

Cause:

The level parameter in data object is not checked for possibility of undefined.

Solution:

Check on the level content availability in the object, so it can be converted into string.

Resolves #112

Aryanop0914 commented 3 months ago

any update on it how can it be solved?