Commit graph

10 commits

Author SHA1 Message Date
Domagoj Kriskovic
f37ae7a5f8 [cm6] fix toggling ranges next to command (#14183)
GitOrigin-RevId: 4959419a09415b202dc7ce2271e9691d2c2387d4
2023-08-18 12:11:24 +00:00
Alf Eaton
253f2c53d5 [visual] Show tooltip with target for linkable nodes (#13636)
GitOrigin-RevId: c236caff7560d8d3e4f53667c7abe27b57f7711d
2023-08-14 08:05:09 +00:00
Alf Eaton
e86c5dc137 [cm6] Add analytics for bold and italic shortcuts (#13785)
GitOrigin-RevId: 62f2f9976778083b7ca6566f79e3d055585e7bb7
2023-07-17 11:04:01 +00:00
Alf Eaton
a716a500c5 Merge pull request #13607 from overleaf/ae-formatting-keymaps
[cm6] Use toggleRanges for bold/italic shortcuts in code editor

GitOrigin-RevId: 90f7344876e84b984469ca2daccb7bbe71d89aa9
2023-07-17 10:49:34 +00:00
Alf Eaton
62533ace6d Use StringQuery and selectWord from @codemirror/search (#12828)
GitOrigin-RevId: 23b3e6a5db8583646f378cef52f41889a73a3672
2023-07-17 10:44:26 +00:00
Domagoj Kriskovic
98aa084089 [cm6+rt] getParentNode account for commands with arguments (#13345)
* [cm6+rt] getParentNode account for commands with arguments

* add explanation comment

* added test

* prettier

* check commandAncestor in same position

* using ancestorOfNodeWithToRange

* function rename

GitOrigin-RevId: bb837d956d029c1026dab03825634f24d5bc3905
2023-07-17 10:39:00 +00:00
Alf Eaton
4bb582bdd8 [cm6] Improve Tab behaviour in read-only mode (#12715)
* Improve Tab behaviour in read-only mode
* Remove Tab shortcuts from Markdown configuration

GitOrigin-RevId: 9eb804fcf820b37b371b1c351cfbdf7bff1ced89
2023-04-25 08:05:10 +00:00
Alf Eaton
63b2064420 [cm6] Add scrollIntoView when commands are dispatched (#11678)
GitOrigin-RevId: be005885330b9b29c7ddbfeacaec0a41d96e5e25
2023-04-17 08:05:33 +00:00
Mathias Jakobsen
73191f56e1 [cm6+rt] Make formatting commands work after UnknownCommands without arguments (#12625)
GitOrigin-RevId: 0eb59e6580d6f217c46424ede0fa6f79c8786940
2023-04-17 08:05:16 +00:00
Tim Down
7f37ba737c Move source editor out of module (#12457)
* Update Copybara options in preparation for open-sourcing the source editor

* Move files

* Update paths

* Remove source-editor module and checks for its existence

* Explicitly mention CM6 license in files that contain code adapted from CM6

GitOrigin-RevId: 89b7cc2b409db01ad103198ccbd1b126ab56349b
2023-04-13 08:40:56 +00:00