* title margins
* block title background + tests
* added color and background color params to title blocks
* map color and background color to views
* update diff util for title blocks
* todo title design fix
* title views, set color and background for document and todo blocks
* added tests on text changed payload
Co-authored-by: konstantiniiv <ki@anytype.io>
* block view renderer now returns flags via lambda
* update toc block with items if flag is present
* test
* pr fixes
Co-authored-by: konstantiniiv <ki@anytype.io>
* legacy
* added model for style toolbars state
* ext fun for getting text style toolbar state + tests
* move text style toolbar to use new state
* moving the style background toolbar to a new state
* update control panel events
* update control machine event for background toolbar
* code block uses cursor
* close kayboard on opening background toolbar
* refresh background toolbar
* refresh bakground toolbar 2
* send blocks background update command
* start background toolbar for code block and style toolbar for others
* update style color toolbar
* update style color toolbar with state
* update style color toolbar vm logic
* get style color toolbar state
* style other toolbar new state
* get style other toolbar state + vm logic
* legacy styleconfig model
* legacy
* on style event click refactoring
* on close background toolbar event
* added new command, blockList set mark
* remove doubles
* markup type to core model
* legacy
* update markup for several text blocks
* update style other toolbar with selected states
* toolbars viewmodels logic
* legacy, code style
* code style
* fixed tests
* test fix
Co-authored-by: konstantiniiv <ki@anytype.io>
* add command scroll to position
* fix toc background
* link to object, indent
* scroll to the first position for block action toolbar
* test fix
Co-authored-by: konstantiniiv <ki@anytype.io>
* show toc item on filter
* tests on toc
* added table of contents as block view
* table of contents as block model
* table of contents mapping + test
* create toc block
* table of contents block view
* toc payload
* toc clicks, states
* update teble of contents, after header text changed + test
* rename variable
* update toc icon
* rename widget
* fix tests
* ci
* pr fix
* ci off
Co-authored-by: konstantiniiv <ki@anytype.io>
* add fileds to block mapping
* exit from multi select after paste
* fix title top margin after cover added
* pause text watchers on setting text to title
Co-authored-by: konstantiniiv <ki@anytype.io>
* make relation object first choice
* added dividers to relation formats list
* fix paddings
* code style
* update order + added custom formats order
Co-authored-by: konstantiniiv <ki@anytype.io>
* added block id param to mw mapping
* add copy icon to action toolbar
* paste blocks logic
* add ids to mapping to mvblocks
* code style
* send children ids on copy
* added test on copy
* ci
* fix icon color
* ci
* ci off
Co-authored-by: konstantiniiv <ki@anytype.io>
* added isPreviousBlockMedia to linkAsCard block
* link as card block, design update
* bookmark, selected state fix
* tests fix
* ci off
Co-authored-by: konstantiniiv <ki@anytype.io>
* styles for graphic+text blocks
* apply background color for media blocks
* media blocks xml update
* add background color for blockView model
* setting background color param
* update ids
* ci
* ci
* icon design
* default color in case on nullable state
* media placeholder icons
* bookmark placeholder icon
* remove legacy media placeholder layouts
* add isPreviousBlockMedia param to BlockView
* media placeholders, update design + logic
* media placeholders in adapter
* media placeholders design
* code style
* refactoring media placeholders
* media placeholders indent
* tests fix
* added background to divider blocks
* test
* ci
* ci off
Co-authored-by: konstantiniiv <ki@anytype.io>
* background toolbar
* fixes
* fix
* show style icon for all blocks
* update test
* update empty states for editor toolbars
* show background toolbar in case non texted blocks + tests
* send proper distinct color
* apply background for link_as_card_block
* apply background for link_block
* update visibility ob background toolbar
* close background toolbar after color is choosed
* fix tests
* ci
* ci
* pr fix
Co-authored-by: konstantiniiv <ki@anytype.io>