Commit graph appflowy-editor/test/new/toolbar/desktop
Author SHA1 Message Date
Lucas
41335c54ae
chore: merge flutter 3_27_4 into main branch (#1228)
* chore: merge flutter/3_27_4 to main branch

* chore: code format

* fix: unit tests
2026-07-27 15:37:27 +08:00
Morn
2b5830dbaf
chore: enable pass custom color from outside (#1066)
* chore: enable pass custom color from outside

* chore: add toolbarBuilder for FloatingToolbar
2025-03-17 11:17:04 +08:00
Lucas
817c965f26
fix: hide the floating toolbar if no content is visible (#976)
* fix: hide the toolbar when all selected content is empty

* test: hide the toolbar when all selected content is empty

* Revert "fix: ignore backspace on empty table cells to avoid editor crash (#964)"

This reverts commit 09f4b17e2e.
2024-12-02 10:11:15 +08:00
Mohammad Zolfaghari
ede8187efc
fix: enable converting multilne to list (#860)
currently only its possible to convert single line to bullet or
numbered list.
changed the active check function to also show list items in toolbar
when multiple text lines are selected.
2024-08-10 10:58:09 +08:00
Lakhan Baheti
2b58d4f9ca
feat: support RTL in toolbar (#496) 2023-09-27 15:34:33 +08:00
Mohammad Zolfaghari
dd52ce6718
feat: table plugin (#62)
* feat: table plugin requisites

* feat: moved table plugin to appflowy-editor

* fix: flutter analyze

* fix: dont use nested maps in node attributes

rust backend (flowy-document) doesn't support it.

* feat: add table to appflowy editor default selection menu

* feat table markdown encoder

* refactor: apply @Xazin review suggestions

* refactor: merge main and fix color picker conflicts

* feat: table markdown decoder

* fix: use specific backgroun generator for table

* feat: table plugin

* style: adapt new structure

* fix: table columns border height

* fix: adapt new style key commands

* fix: remove table context menu

* test: adapt to main branch changes

* fix: backspace handling regarding table

* fix: flutter analyze

* fix: enter when table cell is bullet list

* fix: selection bug on large table

* feat: row/col action menu

* fix: row action handler positioning

* refactor: merge row and col handler widget

* refactor: add size and color to handler icon

* style(merge): merge main

* feat: added padding and action wrapper

* feat: enable customizing icons and etc

* feat: table menu builder

* fix: table getBlockRect

* refactor: table action button design

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-08-29 15:24:25 +08:00
Lucas.Xu
46158d9e26
feat: customize href (#293) 2023-07-07 16:07:47 +08:00
Lucas.Xu
2b2bce4f3c
fix: analysis issues (#283) 2023-07-04 11:22:35 +08:00
Vincenzo Ursano
c8082d38df
feat: support exitting the link menu by pressing ESC 2023-07-03 17:05:42 +08:00
Mohammad Zolfaghari
86f2d2438c
fix: toolbar position at most top (#214)
* fix: toolbar position at most top

* test: add test

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-20 10:42:57 +08:00
Yijing Huang
6a4a8ae818
feat: mobile tool bar basic features (#161)
* refactor: refactor mobile toolbar

* feat: add text decoration icon in AFMobileIcons

* chore: update mobile parameter

* feat: add text decoration basic feature

* chore: replace text by AppFlowyEditorLocalizations

* feat: add code toolbar item

* chore: refactor code
- add hasMenu in MToolbarItem
- add const size

* feat: add line input menu

* chore: create toolbar items draft file

* refactor: textDecorationMToolbarItem refactor

* fix: add key to ensures MToolbarWidget is rebuilt whenever the selection changes

* feat: add link toolbar item and the way to close item menu

* chore: replace m by mobile

* chore:replace BuiltInAttributeKey by FlowyRichTextKeys

* chore: replace m by mobile

* refactor: refactor MobileToolbarWidget

* refactor: add MobileToolbarStyle to control all cosmetic parameters

* refactor: refactor MobileToolbarItemMenuBtn to stateless widget

* feat: add heading menu

* fix: fix open the wrong menu

* feat: add heading icon

* feat: add todo list and list toolbar item

* feat: add quote toolbar item

* fix: fix selection service error

* test: add mobile toolbar basic elements test

* test: add item menu button test and helper widgets

* test: add text decoration mobile toolbar item test

* test: add code mobile toolbar item test

* test: add heading mobile toolbar item test

* test: add list mobile toolbar item test

* chore: fix typo

* test: add quote mobile toolbar item test

* test: add todo list mobile toolbar item test

* test: add link mobile toolbar item test

* chore: update name and add Material widget

* fix: flutter analyze

* fix: flutter analyze in test mobile toolbar

* chore: dart format test code

* refactor: improve code

* fix: fix refactor error

* chore: move all the tests in mobile to test/mobile

* chore: move toolbar/items to toolbar/desktop/items

* chore: remove the mobileToolbarItemMenuStateKey

* chore: add some comments

* test: update testing

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-13 14:01:08 +08:00