Commit 1878d7a
Bump version to 9.35.0 (#3133)
* Fix toggling format issue at composition stage for CJK (#3064)
* draft
* temp
* update ff
* update
* test
* update
* Avoid "undefined" in HTML to Markdown generated content (#3069)
* fix: avoid "undefined" before paragraphs content
* fix: set "image" as the default alt value instead of "undefined"
---------
Co-authored-by: Francois Dursus <[email protected]>
* Add focus handling in formatTableWithContentModel and its tests (#3072)
* format applier (#3073)
* Keep implicit paragraph when pressing Enter at the start of it. (#3075)
* Enhance splitParagraph function to allow preservation of implicit paragraphs after split
* Fix preserveImplicitParagraph flag in handleEnterOnParagraph to false
* Update packages/roosterjs-content-model-plugins/lib/edit/utils/splitParagraph.ts
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Add beforeLogicalRootChanged event handling and related tests (#3077)
* Add beforeLogicalRootChanged event handling and related tests
* Rename event type from 'beforeLogicalRootChanged' to 'beforeLogicalRootChange' across relevant files
* Update packages/roosterjs-content-model-types/lib/event/LogicalRootChangedEvent.ts
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Disable isComposing check in DOM event propagation for Android (#3076)
* dsiable isComposing check for Android
* add test
---------
Co-authored-by: Bryan Valverde U <[email protected]>
* Allow plugins to store state in snapshot (#3079)
* Allow plugins to store custom state in undo snapshots
* Type fixes
* Move to using object instead array
* Fix #3080 (#3084)
* Add auto direction to setDirection (#3082)
* Initial commit
* Pending changes exported from your codespace
* fix code and tests
* Address comments
---------
Co-authored-by: wisaulni <[email protected]>
Co-authored-by: Bryan Valverde U <[email protected]>
* Ensure image is loaded before creating image wrapper (#3090)
* Enhance image loading handling in ImageEditPlugin to support resizing and editing of images not fully loaded
* Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* test (#3092)
* Fix #3085 (#3095)
Co-authored-by: Julia Roldi <[email protected]>
* Adjust the image wrapper to stay inline (#3093)
Use text-bottom instead of bottom for vertical-align to prevent the image to rotate below the text line. Also add some 5px in margin bottom to compensate for the height of the bottom handles.
* Fix 309357 (#3097)
* Fix 309357
* improve
* improve
* improve
* Update packages/roosterjs-content-model-types/lib/context/ModelToDomOption.ts
Co-authored-by: Copilot <[email protected]>
* Update packages/roosterjs-content-model-types/lib/context/ModelToDomSettings.ts
Co-authored-by: Copilot <[email protected]>
* fix build
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Bryan Valverde U <[email protected]>
* Fix #3063 (#3096)
* Fix #3087 Delete paragraph styles when there is nothing else to be deleted (#3094)
* Fix #3087
* Update packages/roosterjs-content-model-plugins/lib/edit/deleteSteps/deleteParagraphStyle.ts
Co-authored-by: Copilot <[email protected]>
* Update packages/roosterjs-content-model-plugins/lib/edit/deleteSteps/deleteParagraphStyle.ts
Co-authored-by: Copilot <[email protected]>
* Update packages/roosterjs-content-model-plugins/lib/edit/deleteSteps/deleteParagraphStyle.ts
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Remove karma changes (#3102)
* karma
* change
* Adjust Block Indentation (#3099)
When inserting a list or table in an indented segment, add the indentation to the block.
* Process non-visible elements (#3089)
New parameter processNonVisibleElements has been added to the DomToModelSettings and DomToModelOptions, allowing optional processing of non-visible elements.
* Fix runtime color for dark mode (#3101)
* Fix runtime color for dark mode
* add test
* fix build
* table rtl (#3103)
The style direction: RTL does move the table to the right, so use justifySelf:flex-end.
* image-handles (#3104)
When rotating an image, the resize handles direction must be updated according to the rotation angle.
* Fix superscript rule (#3106)
* Fix 380860 (#3107)
* Support 'HTMLFast' mode when get HTML (#3109)
* Support 'HTMLFast' mode when get HTML
* fix build and comment
* Bump tmp from 0.2.1 to 0.2.4 (#3114)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.1 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](raszi/node-tmp@v0.2.1...v0.2.4)
---
updated-dependencies:
- dependency-name: tmp
dependency-version: 0.2.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiuqing Song <[email protected]>
* Fix #3110 (#3113)
* Add logical root plugin and related presets; enhance event handling with capture option
* Update packages/roosterjs-content-model-plugins/lib/imageEdit/ImageEditPlugin.ts
Co-authored-by: Copilot <[email protected]>
* Update demo/scripts/controlsV2/sidePane/presets/PresetPane.tsx
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Add markdown support for strikethrough
* Fix test
* Try fix unstable test (#3118)
* add support for nested style markdowns
* move let to const
* update
* Support DL,DT,DD in content model (#3120)
* Support DL,DT,DD in content model
* improve
* fix build
* fix test
* Add an experimental feature for 'HTMLFast' when export html (#3121)
* Add an experimental feature for 'HTMLFast' when export html
* fix build
* Fix 276282 (#3125)
* Fix #3112 Delete empty block group when need (#3124)
* Fix #3112
* improve
* fix comments
* update
* remove console log
* fix regression
* update
* Do not add undo snapshot from ImageEdit plugin if image is not changed (#3127)
* Fix 377316: Skip undo snapshot when start to edit image
* improve
* fix comment
* Support different options for empty line mode in mark down (#3128)
* Support different options for empty line mode in mark down
* Fix build
* fix test
* fix test
* Fix auto link (#3129)
When the text segment already has link, do not create the link again.
* Graduate option "disableCache" (#3132)
* Graduate option "disableCache"
* Improve
* Improve handleParagraph function (#3130)
* 9.35.0
* Remove console.log added accidentally in test code (#3134)
* Toggle blockquote in Format Container (#3126)
FormatContainer can be used to other elements other than blockquotes. When toggling blockquote in format containers that are not blockquotes, search for the selected elements inside the container and only apply blockquote to theses selected elements.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Haowen Chen <[email protected]>
Co-authored-by: François Dursus <[email protected]>
Co-authored-by: Francois Dursus <[email protected]>
Co-authored-by: Bryan Valverde U <[email protected]>
Co-authored-by: Julia Roldi <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Rain-Zheng <[email protected]>
Co-authored-by: florian-msft <[email protected]>
Co-authored-by: wisaulni <[email protected]>
Co-authored-by: wisaulni <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francis Meng <[email protected]>
Co-authored-by: Francis Meng <[email protected]>1 parent a2b0b6e commit 1878d7a
File tree
52 files changed
+2467
-313
lines changed- demo/scripts/controlsV2
- mainPane
- sidePane
- MarkdownPane
- editorOptions
- packages
- roosterjs-content-model-api
- lib/modelApi
- block
- link
- test
- modelApi
- block
- link
- publicApi/link
- roosterjs-content-model-core
- lib
- coreApi
- formatContentModel
- setContentModel
- corePlugin
- cache
- undo
- editor
- test
- coreApi
- formatContentModel
- restoreUndoSnapshot
- setContentModel
- corePlugin
- cache
- undo
- editor
- roosterjs-content-model-dom
- lib
- modelApi
- editing
- selection
- modelToDom/handlers
- test/modelApi/editing
- roosterjs-content-model-markdown
- lib
- markdownToModel
- appliers
- processor
- types
- utils
- test/markdownToModel
- appliers
- creators
- processor
- roosterjs-content-model-plugins
- lib
- autoFormat/link
- edit
- deleteSteps
- imageEdit
- utils
- test
- autoFormat/link
- edit
- deleteSteps
- paste/e2e
- roosterjs-content-model-types/lib
- event
- pluginState
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+2467
-313
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | 397 | | |
399 | 398 | | |
400 | 399 | | |
| |||
Lines changed: 66 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 8 | | |
14 | 9 | | |
15 | 10 | | |
16 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
58 | 82 | | |
59 | 83 | | |
60 | 84 | | |
61 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
62 | 119 | | |
63 | 120 | | |
64 | 121 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
Lines changed: 0 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 77 | | |
89 | 78 | | |
90 | 79 | | |
| |||
130 | 119 | | |
131 | 120 | | |
132 | 121 | | |
133 | | - | |
134 | 122 | | |
135 | 123 | | |
136 | 124 | | |
| |||
176 | 164 | | |
177 | 165 | | |
178 | 166 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | 167 | | |
186 | 168 | | |
187 | 169 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
Lines changed: 176 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
797 | 797 | | |
798 | 798 | | |
799 | 799 | | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
800 | 976 | | |
0 commit comments