Commit graph appflowy-editor/example
Author SHA1 Message Date
Lucas.Xu
014abd74fe
feat: add fixed toolbar example (#739)
* feat: add fixed toolbar example

* feat: highlight bold button if the selected text is all bold
2024-03-07 09:47:23 +08:00
Lucas.Xu
d4d35c0d10
fix: flutter anlayze (#730) 2024-02-28 11:03:29 +08:00
Lucas.Xu
1715ed4549
feat: support scaling the svg (#722)
* feat: support scaling the svg

* fix: flutter test
2024-02-21 15:41:55 +08:00
Lucas.Xu
f38328d9e5
chore: upgrade flutter version to 3.19.0 (#719) 2024-02-18 21:57:42 +08:00
Mathias Mogensen
63844fd121
feat: support selection counters (#706)
* feat: support selection counters

* feat: improve
2024-02-08 10:46:45 +01:00
Mathias Mogensen
9c27b8e309
feat: word counter service (#705)
* feat: word counter service

* chore: minor improvement

* test: add expect for stop()

* fix: code review
2024-02-07 16:30:27 +01:00
Juliano Penna
7fe3ff7801
chore: localize more items (#680)
* fix: localize tooltips from toolbar items

* fix: Localize shortcut descriptions

* refactor: reorder able menu entries

* fix: update translation if locale changes

* feat: translate all pt-BR

* docs: explain how to change locales

* ci: fix failing unit test
2024-01-25 23:43:02 +08:00
Lucas.Xu
ba9bcee094
feat: support customizing cursor width (#654) 2024-01-08 14:54:34 +08:00
Lucas.Xu
07afd7a839
feat: improve android selection gesture (#647)
* feat: improve android touch gesture

* feat: long press to select a word on Android
2024-01-05 14:23:18 +08:00
Lucas.Xu
82f3baf3f1
feat: support customizing the mobile magnifiter (#625)
* feat: support customizing the mobile magnifiter

* chore: remove unused test

* feat: expaned the padding between cursor and toolbar

* feat: support long pressing to update selection

* chore: revert code sign
2023-12-19 18:15:56 +08:00
Lucas.Xu
ffab5a1ca2
fix: memory leaks (#615) 2023-12-08 15:39:18 +08:00
Lucas.Xu
8bbb3a0783
chore: upgrade to flutter 3.16 (#614) 2023-12-07 22:22:34 +08:00
Lucas.Xu
4995d21ff4
feat: support get the after text decorate from textSpanDecorator (#612) 2023-12-04 15:15:21 +08:00
Lucas.Xu
7127a37f25
feat: show magnifier when dragging the handlers (#601)
* feat: add mobile magnifier to selection service

* feat: make the showMagnifier value as public
2023-11-23 09:25:22 +08:00
Lucas.Xu
2617f766a5 fix: the content is blocked by the keyboard sometimes (#594)
* fix: the content is blocked by the keyboard sometimes

* chore: use flutter 3.13.9 in CI
2023-11-16 17:59:36 +08:00
Lucas.Xu
e665b67c0d
fix: the new mobile toolbar doesn't work if resizeToAvoidBottomInset is true (#593)
* fix: toolbar issues

* fix: adjust the mobile toolbar when resizeToAvoidBottomInset is true
2023-11-16 10:05:37 +08:00
Lucas.Xu
4345105ebe
feat: optimize editing experience on mobile (#592)
* feat: optimize mobile editing

* feat: refactot the mobile toolbar

* feat: don't reattch text input if the selection doesn't change

* chore: update mobile toolbar layout
2023-11-15 16:03:17 +08:00
Lucas.Xu
c7d99913aa
feat: support Flutter stable channel (#581)
* feat: adjust toggle list block

* chore: upgrade Flutter to master channel

* chore: upgrade pbxproj

* fix: toolbar copy button not closing on mobile editor

* fix: formatting issues and add missing commas

* chore: add stable branch to GitHub Actions workflow

* chore: add missing trailing commas

* chore: adjust indentation padding in block component
configuration and unit tests
2023-11-08 13:46:33 +08:00
Johan Sutrisno
5c4f4abab2
feat: Checkbox unresponsive in custom Theme example in editor example app (#543)
* feat: checkbox unresponsive custom theme example

* fix: resolve feedback

* fix: change inkwell to gesture detector

---------

Co-authored-by: Johan Sutrisno <johan@zero-one-group.com>
2023-11-05 19:46:52 +01:00
Jaskeerat Singh
41c9318986
fix: applied corner radius to block selection (#557)
* fix: Applied Corner Radius to Block Selection Area

* fix: removed un-necessary line

* fix: format file

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2023-10-29 11:08:56 +01:00
Lucas.Xu
89b93d89a7
feat: optimize editable features (#541) 2023-10-17 17:38:27 +08:00
Lucas.Xu
31403c9b42
fix: background color issues (#530) 2023-10-11 19:41:15 +08:00
Lucas.Xu
78b004565c
fix: the selection should be clear if header or footer is focusing (#525) 2023-10-10 16:53:12 +08:00
Yijing Huang
897033035c
feat: export JSON in mobile and update mobile_example.json (#515)
* feat: add export json in mobile

* chore: update editor style and example json for mobile showcase

* chore: improve text content
2023-10-10 15:42:51 +08:00
Lucas.Xu
384532434c
feat: optimize the find and replace logic (#510) 2023-10-01 16:51:42 +08:00
Lakhan Baheti
2b58d4f9ca
feat: support RTL in toolbar (#496) 2023-09-27 15:34:33 +08:00
Lucas.Xu
d1b9084ffb
fix: unable to update selection sometimes when the editor lost focus (#509) 2023-09-27 09:18:23 +08:00
Lucas.Xu
77436201ae
chore: bump version 1.4.3 (#502) 2023-09-25 17:53:18 +08:00
Lucas.Xu
1bd1a6b514 fix: the placeholder doesn't appear on desktop platform 2023-09-21 10:17:45 +08:00
Lucas.Xu
967e3e82a8 fix: required named parameter 'onLiveTextInput' must be provided 2023-09-21 10:08:56 +08:00
Lucas.Xu
f944e5cf05
fix: DT_TOOLCHAIN_DIR path in Podfile for iOS and macOS (#483) 2023-09-20 14:07:25 +08:00
Lucas.Xu
78dd254d1e
feat: add more showcases on desktop/mobile platform (#481) 2023-09-20 11:17:39 +08:00
Lucas.Xu
6699d58631
feat: add more showcases on the mobile platform (#479) 2023-09-18 22:05:17 +08:00
Mathias Mogensen
f5b3ea87f5
chore: add jumpTo to editor scroll service (#466) 2023-09-15 00:02:05 +02:00
Lucas.Xu
b602141d32 fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
Lucas.Xu
19f999f422
feat: optimize the performance (#442) 2023-09-11 15:03:14 +08:00
Lucas.Xu
a912c1c965 fix: refactor text alignment handling in block components 2023-08-29 21:33:30 +08:00
Lucas.Xu
e59b36173f
Revert "fix: remove flutter overlay (#358)" (#427)
* Revert "fix: remove flutter overlay (#358)"

This reverts commit 81fbb40fff.

* fix: hide toolbar when the selection area is invisible
2023-08-29 17:18:06 +08:00
Lucas.Xu
836e4cbd70
feat: support alignment for block component (#425) 2023-08-29 16:43:24 +08:00
Mathias Mogensen
81fbb40fff
fix: remove flutter overlay (#358)
* fix: remove flutter overlay

* fix: hide toolbar if selection is not visible

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-08-29 15:52:59 +08:00
Mayur Mahajan
7a03439c82
feat: toggle highlight using ctrl/cmd + shift + h (#333)
* feat: add highlight command shortcut

* feat: toggle highlight in markdown commands

* refactor: customizable highlight color

* feat: taking color from editor page
2023-08-29 15:25:08 +08:00
Ali Hassan
72d6c52f25
fix: html encoder not adding multiple text decorations (#424)
* fix: html encoder not adding multiple text decorations

* fix: html encoder with multiple attributes more test added
2023-08-29 15:02:01 +08:00
Lucas.Xu
20ddb03cca chore: update theme colors for editor 2023-08-28 16:35:57 +08:00
Mayur Mahajan
f5c6dc2ce7
feat: find dialog 1760 (#106)
* feat: make find menu widget

* feat: service for find menu

* feat: add find menu shortcut event

* feat: create a search service

* docs: explain search service

* fix: unhighlight method takes searched word

* fix: unhighlight before each search

* feat: navigate between matches

* feat: forget highlighting from undo stack

* feat: replace logic and ui

* feat: replace shortcut handler and widget

* test: find functionality

* test: replace menu tests

* refactor: separate class for search algo

* refactor: suggested changes

* refactor: remove unhighlight method

* feat: add find highlight color

* refactor: name of the search algo class

* test: unit tests for search algorithm

* chore: simplify syntax

* test: renamed test group

* refactor: move to editor

* refactor: add shortcut for find

* refactor: use new api

* refactor: add abstrac class search algo

* fix: avoid multiple instances of find dialog

* refactor: xazin's suggestions

* chore: separately build input decor

* test: search algorithm

* chore: unhighlight properly

* refactor: replace handler

* refactor: move tests into new

* test: find menu widget test

* test: replace menu

* fix: localizations + resolve scroll bug partially

* fix: without update selection on highlight

* fix: do not select words when highlighting

* test: update expected selection

* fix: matches and styling

* feat: separate attribute for highlighting

* feat: unique color for selected match

* test: unique color for selected match

* refactor: cleaning the code

* fix: navigate to first match

* fix: tests and replace logic

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2023-08-10 13:08:45 +02:00
Mohammad Zolfaghari
f8da435ad5
feat: support RTL and auto direction (#191) 2023-07-12 10:51:38 +08:00
Lucas.Xu
46158d9e26
feat: customize href (#293) 2023-07-07 16:07:47 +08:00
Yijing Huang
13805afc33
feat: customized color options (#270) 2023-07-04 10:38:42 +08:00
Yijing Huang
31934d7acd
feat: divider toolbar item in mobile (#281) 2023-07-04 10:09:44 +08:00
Mathias Mogensen
f6584b9f48
fix: add support for query schemes in example app (#279) 2023-07-03 21:03:19 +08:00
Lucas.Xu
070ceb3e27
feat: migrate the delta encoder (#277) 2023-07-03 19:19:32 +08:00