Commit graph

5 commits

Author SHA1 Message Date
koehr
941118494a fix menu sync
this loops the search for marks until a block element is found, because marks
are nested elements like for example `<p><b><i>bold and italic</i></b></p>`.
2020-05-25 11:38:18 +02:00
koehr
44eabe831e add marks to editor actions (breaks menu sync) 2020-05-25 11:38:18 +02:00
koehr
5fc559abac implements basic menu functionalities
this includes standard block elements (headers, paragraphs, lists, rulers)
but not marks (bold, italic)
and for sure not special elements like the stat block
2020-05-25 11:38:18 +02:00
koehr
c64b9a95fb remove tiptap, start simple homegrown richtext functionalities
* menu now sends command events and button states
* menu state is synced with the elements at caret postion
* menu functionalities are not yet implemented
2020-05-25 11:38:18 +02:00
koehr
a33363eef0 trying to extend that editor 2020-05-25 11:38:18 +02:00