Commit 8a71701
Bump Rooster to 9.42.0 & react pkgs to 9.0.3 (#3212)
* support RTL (#3177)
* Update ContextMenuProvider to accept event parameter and adjust related tests (#3175)
* refactor: remove deprecated features and clean up related code in CachePlugin and CopyPastePlugin (#3178)
* Add `test:fast` for faster unit test runs (#3179)
* refactor: optimize karma configuration for improved performance
* feat: add fast karma configuration and update package.json for debugging
* refactor: streamline karma plugin declaration and update test scripts for clarity
* refactor: update test commands to use fast karma configuration
* Add support for retaining formats when splitting paragraphs on Enter/Delete/Backspace keypress (#3180)
* refactor: optimize karma configuration for improved performance
* feat: add fast karma configuration and update package.json for debugging
* refactor: streamline karma plugin declaration and update test scripts for clarity
* Add support for retaining formats when splitting paragraphs on Enter key press
- Introduced `formatsToKeep` option in `EditOptions` to specify which formats to retain.
- Updated `keyboardEnter`, `handleEnterOnParagraph`, and `splitParagraph` functions to handle the new formats.
- Enhanced tests to verify the correct behavior of format retention during paragraph splits.
* Remove unused import for handleEnterOnParagraph in keyboardEnterTest
* Remove stray backtick from splitParagraph function
* refactor: update test commands to use fast karma configuration
* feat: implement class format handling and preserve formatting on paragraph split
* feat: rename formatsToKeep to formatsToPreserveOnMerge and update related functionality
* test: update spies in keyboardDelete tests and fix format property in preserveParagraphFormat tests
* Support rowSpan equal to 0 (#3181)
* fix: handle zero colSpan and rowSpan in tableProcessor to ensure proper cell creation
* fix: correct colSpan condition in tableProcessor for accurate cell processing
* feat: add spanUntilNextSection support in table cell processing and handling
* refactor: remove spanUntilNextSection from table cell handling and related tests
* refactor: simplify rowSpan handling and improve tableProcessor tests for edge cases
* Remove unneeded changes
* Remove
* fix: update source map configuration for improved debugging accuracy (#3186)
* Support passing event to getContextMenuItems when plugin is a MixedPlugin (#3188)
* feat: enhance context menu handling to support V9 providers with event parameter
* fix: enhance isV9ContextMenuProvider to check for mixed plugins
* refactor: simplify spyOn usage for DarkColorHandler in BridgePlugin tests
* fix: enhance isV9ContextMenuProvider to validate V9 provider signature
* fix: update context menu provider check to use isMixedPluginProvider
* New getContentForCopy API (#3182)
New getContentForCopy API
* feat: add announce options for bold, italic, and underline formatting (#3194)
* feat: add announce options for bold, italic, and underline formatting; update shortcuts and tests
* refactor: update context initialization in toggleBold, toggleItalic, and toggleUnderline tests for type safety
* Address comments from review
* test: add unit tests for bold, italic, and underline shortcuts with announceFormatChange
* Add Find and Replace API and plugin (#3190)
* Add Find and Replace API and plugin
* Fix a comment
* improve
* feat: add announcements for table selection and unselection in the editor (#3195)
* feat: add announce options for bold, italic, and underline formatting; update shortcuts and tests
* refactor: update context initialization in toggleBold, toggleItalic, and toggleUnderline tests for type safety
* feat: add announcements for text selection and unselection in the editor
* refactor: simplify table selection logic by using TableSelection type in getIsSelectingOrUnselecting function
* Update packages/roosterjs-content-model-core/lib/corePlugin/selection/tableSelectionUtils.ts
Co-authored-by: Copilot <[email protected]>
* Address comments from review
* test: add unit tests for bold, italic, and underline shortcuts with announceFormatChange
* Move functionality to a new plugin
* Fix
* Fix
* Fix comment
---------
Co-authored-by: Copilot <[email protected]>
* Fix #396891 (#3199)
* Fix #396891
* improve
* improve
* first colunm (#3202)
* Fix 400434 (#3200)
* Add format when insert table (#3203)
Add the format parameter in the insertTable API, then it will be possible to insert a table with a predefined format. It can be used to add margin bottom to the table, then when a table is inserted under another their border does not overlay.
* Move graduated feature to a separate type (#3205)
* Move graduated feature to a separate type
* improve
* fix build
* Translate lineHeight normal to 120% when pasting from Word Desktop and move parsers to their own file (#3209)
* Translate lineHeight normal to 120% and move parsers to their own file
* Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
---------
Co-authored-by: Copilot <[email protected]>
* Fix text to bullet issue (#3210)
* Fix text to bullet issue
* fix test
* Update version
* Update version on react pkgs
---------
Co-authored-by: Julia Roldi <[email protected]>
Co-authored-by: Bryan Valverde U <[email protected]>
Co-authored-by: Jiuqing Song <[email protected]>
Co-authored-by: Copilot <[email protected]>1 parent ff1129d commit 8a71701
File tree
47 files changed
+986
-344
lines changed- demo/scripts/controlsV2/sidePane/editorOptions
- packages
- roosterjs-content-model-api
- lib/publicApi/table
- test
- modelApi/block
- publicApi/table
- roosterjs-content-model-core
- lib
- command
- createModelFromHtml
- paste
- coreApi/createEditorContext
- test
- command
- createModelFromHtml
- paste
- coreApi/createEditorContext
- roosterjs-content-model-dom
- lib
- domToModel
- formatHandlers/list
- modelApi
- editing
- selection
- modelToDom
- handlers
- test
- modelApi
- editing
- selection
- modelToDom/handlers
- roosterjs-content-model-plugins
- lib
- edit/inputSteps
- paste
- WordDesktop
- parsers
- test
- edit
- inputSteps
- paste
- e2e
- parsers
- plugin
- word
- roosterjs-content-model-types/lib
- context
- editor
- roosterjs-react/lib/ribbon/buttons
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+986
-344
lines changedLines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 66 | + | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
21 | | - | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
44 | | - | |
45 | | - | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
475 | 476 | | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
| |||
Lines changed: 65 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
264 | 329 | | |
265 | 330 | | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
| |||
420 | 427 | | |
421 | 428 | | |
422 | 429 | | |
423 | | - | |
| 430 | + | |
| 431 | + | |
424 | 432 | | |
425 | 433 | | |
426 | 434 | | |
| |||
0 commit comments