PolicyStat / ckeditor-plugin-structured-headings

MIT License
0 stars 1 forks source link

Null selection throws an error #51

Closed caffodian closed 7 years ago

caffodian commented 7 years ago

Clearing selection causes the selectionChange handler to fire, but there's no element to check.

caffodian commented 7 years ago

I don't understand why the rendering function of a dropdown is registering a selectionChange handler. Then again I haven't worked with the dropdowns that much.

caffodian commented 7 years ago

Both dropdowns register a change handler

caffodian commented 7 years ago

This seems to be in some odd testing cases only