Mathias Jakobsen
df2f2f22d4
Merge pull request #14811 from overleaf/mj-table-cell-overflow-selection-border
...
[visual] Fix cell overflow and cell selection outline
GitOrigin-RevId: 91cea09956d27162283c12e842f0b5e1680ed582
2023-09-14 08:03:52 +00:00
Alf Eaton
c16e3056ab
Handle more cases where CSS styles override semantics of pasted elements ( #14755 )
...
GitOrigin-RevId: f125d201fe18120c80fe1b681775ca2545da128c
2023-09-12 08:04:48 +00:00
Alf Eaton
666ecbe99f
Treat a contextmenu event as a mouseup event ( #14754 )
...
GitOrigin-RevId: 8f4f3cf53ccf09fd5e4c4a504d40cc375aa12b6c
2023-09-12 08:04:44 +00:00
Alf Eaton
7ac362f3f9
[visual] Handle content in pasted lists with only one item ( #14752 )
...
GitOrigin-RevId: 4f0a2d260b04b8f08f2dad7e200309b2611952e6
2023-09-12 08:04:39 +00:00
Mathias Jakobsen
483448435a
Merge pull request #14730 from overleaf/mj-table-gen-dark-mode
...
[visual] Fix dark editor mode for table generator
GitOrigin-RevId: 024a2118fe7557d3ecd2d833a639684463dda707
2023-09-11 08:05:05 +00:00
Mathias Jakobsen
d464c20690
Merge pull request #14712 from overleaf/mj-table-adjustbox
...
[visual] Disable caption dropdown when tabular is wrapped in command
GitOrigin-RevId: 08131d27e8bb4cb99eee3060435084f671bc3dd6
2023-09-08 08:04:23 +00:00
Mathias Jakobsen
7814f89bf9
Merge pull request #14707 from overleaf/mj-table-gen-toolbar-z-index
...
[visual] Set higher z-index for table gen toolbar than cm6 cursor
GitOrigin-RevId: 769e33abf84767087b7936f2b3f0a02c80c7dd09
2023-09-08 08:04:19 +00:00
Mathias Jakobsen
9e9b76dd4f
Merge pull request #14686 from overleaf/mj-table-generator-copy
...
[visual] Update copy for table generator
GitOrigin-RevId: ed5693fc3bf04bade2db70c652c7bdcb38e2195e
2023-09-07 08:05:05 +00:00
Mathias Jakobsen
87324c6a8c
Merge pull request #14658 from overleaf/ae-pasted-font-weight
...
[visual] Use font-weight >= 700 as bold indicator
GitOrigin-RevId: 33307a3139b596868c3460c070f51adc8617cb3a
2023-09-07 08:04:46 +00:00
Mathias Jakobsen
daed8456b1
Merge pull request #14664 from overleaf/ae-paste-rowspan
...
[visual] Handle rowspan on pasted table cells
GitOrigin-RevId: 53dda99ae1c300b9c4ec8f711b70b16ef66392c8
2023-09-07 08:04:42 +00:00
Mathias Jakobsen
acb3a39b36
Merge pull request #14690 from overleaf/mj-table-gen-toolbar-wrap
...
[visual] Wrap table generator toolbar on overflow
GitOrigin-RevId: ef4d5b7f8fe79eefb6d2ad2f89c8ae198e2c701d
2023-09-07 08:04:37 +00:00
Mathias Jakobsen
3983d594de
Merge pull request #14618 from overleaf/ae-paragraph-newline
...
[visual] Add newlines after all paragraphs that aren't inside lists or tables
GitOrigin-RevId: 4e8b5b6ce07845fdf7614f7129aac2a88b3bb723
2023-09-06 08:05:25 +00:00
Mathias Jakobsen
7d7e4d3bf7
Merge pull request #14653 from overleaf/mj-column-spacing-parsing
...
[visual] Support cell spacing declarations
GitOrigin-RevId: 16b4ddc196558679301010378912b14f6295e05f
2023-09-06 08:05:20 +00:00
Mathias Jakobsen
77364240a0
Merge pull request #14295 from overleaf/mj-table-gen-help-modal
...
[visual] Add help modal to table generator
GitOrigin-RevId: 48827734d2aa356f4547f1e6638381a1dd96b7e6
2023-09-05 08:04:52 +00:00
Mathias Jakobsen
ad76604423
Merge pull request #14596 from overleaf/mj-manual-cell-widths
...
[visual] Manually calculate column widths in table generator
GitOrigin-RevId: ce42219098d56cca2fbdb1bef6ad33a11d79fb25
2023-09-05 08:04:47 +00:00
Mathias Jakobsen
00af88f6fd
Merge pull request #14559 from overleaf/mj-table-add-row-borders
...
[visual] Table generator improvements
GitOrigin-RevId: 8d3d1b382c68c13480b3aa50b6764903ff59ae81
2023-09-05 08:04:43 +00:00
Mathias Jakobsen
618ade7792
Merge pull request #14548 from overleaf/mj-early-exit-table-rendering
...
[visual] Show code when table generator fails rendering
GitOrigin-RevId: 6c1908b0c68cc965e445736f0c320f322d23c988
2023-09-05 08:04:39 +00:00
Alf Eaton
8d8029a8d9
Protect special characters in pasted HTML ( #14476 )
...
GitOrigin-RevId: 7288f6696ed9af78c1ea4cc94d0e8022da90aacf
2023-09-04 08:04:54 +00:00
Alf Eaton
1ccd1ee003
[visual] Decorate backslash-prefixed dollar sign ( #14552 )
...
GitOrigin-RevId: 3d846eeb1a25051b794a3673e9f48ac7fe4b2cbf
2023-09-04 08:04:50 +00:00
Alf Eaton
43e46e6229
[visual] Provide UI for toggling between plain text and formatted content after pasting ( #14568 )
...
GitOrigin-RevId: 3592d5507090a179d68e8e5f56f9e885639cac76
2023-09-04 08:04:45 +00:00
Alf Eaton
2f802ec376
Merge pull request #14588 from overleaf/ae-paste-blockquote
...
[visual] Handle pasted blockquote
GitOrigin-RevId: 5acc257a464886c1f90daf9192c87cccf158927e
2023-09-04 08:04:40 +00:00
Alf Eaton
2b26439c46
Only end the preamble at MakeTitle if directly inside DocumentEnvironment ( #14593 )
...
GitOrigin-RevId: 3252a8260e02728c05b753433e3488b799b18de0
2023-09-04 08:04:36 +00:00
Mathias Jakobsen
e846cbc668
Merge pull request #14495 from overleaf/mj-table-gen-textarea
...
[visual] Use textarea instead of input in table generator
GitOrigin-RevId: 5d394f9978dc25bebf63f1cbd4f1c39466469843
2023-08-30 08:04:36 +00:00
Alf Eaton
f3ba6720c2
[visual] Place cursor in editable content when closing the preamble ( #14162 )
...
GitOrigin-RevId: 35f146caa4469c7f31fb00dc6047a421b1daadb0
2023-08-30 08:04:27 +00:00
Alf Eaton
3a4f24ec9b
[visual] Avoid pasting formatted content into a math container ( #14475 )
...
GitOrigin-RevId: e563e27bf80092df7b296878536ca2d4549c4d2a
2023-08-30 08:04:23 +00:00
Alf Eaton
234e0231c1
[visual] Improved pasted HTML handling ( #14384 )
...
* Replace non-breaking spaces added by Chrome on copy
* Ignore text/html from VS Code
* Improve table border handling
* Remove unused cy.spy
* Map em to textit and strong to textbf
* Left-align table cells by default
* Remove "justify" mapping
* Detect border on table row
* Remove protection for special characters in pasted HTML
* If the only pasted HTML content is in a code block, use the plain text version
* Enable paste-html feature in Storybook
* Improve table handling
GitOrigin-RevId: a912aa1fc659089451103e63c5d0fd3ae2a30627
2023-08-30 08:04:19 +00:00
Mathias Jakobsen
6f7bbc30fc
Merge pull request #14428 from overleaf/mj-table-gen-cleanup
...
[visual] Table generator tweaks and improvements
GitOrigin-RevId: 621820c613924bc201ec85ea249edd6c9b6f88b2
2023-08-25 08:04:12 +00:00
Alf Eaton
c5c506b1e8
[visual] Only use the first document environment when calculating the preamble ( #14343 )
...
GitOrigin-RevId: fc7cb26f2e71bd1142f0269b7b95cacad3cf10a5
2023-08-18 08:05:13 +00:00
Mathias Jakobsen
157986bc1f
Merge pull request #14317 from overleaf/mj-table-gen-update
...
[visual] in-place table generator updates
GitOrigin-RevId: 410411fd9158e6c8c6fe6a5300556800732a252a
2023-08-18 08:04:56 +00:00
Mathias Jakobsen
d891c6e989
Merge pull request #14305 from overleaf/mj-table-buttons
...
[visual] Add toolbar actions to delete table and manage captions
GitOrigin-RevId: 7a6aefd77fc4a66a1b78ae0727d4ece962fdd040
2023-08-18 08:04:47 +00:00
Alf Eaton
065e90d6e1
Avoid handling pasted HTML if there are files on the clipboard ( #14321 )
...
GitOrigin-RevId: 8bb258545f1763bf511817665c89e6f948dc0f62
2023-08-16 08:04:06 +00:00
Alf Eaton
f2006d15c6
[visual] Improve pasting of a table containing a caption ( #14322 )
...
GitOrigin-RevId: 6d7676a9412c5614f85c17e16509c80ad937cc40
2023-08-16 08:04:01 +00:00
Mathias Jakobsen
52e813985d
Merge pull request #14245 from overleaf/mj-linebreak-arguments
...
[lezer+visual] Allow optional arguments for line breaks
GitOrigin-RevId: e59a7c9a2efacc8a0fde887736899bbcbb52a4bc
2023-08-15 08:03:00 +00:00
Alf Eaton
94bada2a32
[visual] Show tooltip with target for linkable nodes ( #13636 )
...
GitOrigin-RevId: c236caff7560d8d3e4f53667c7abe27b57f7711d
2023-08-14 08:05:09 +00:00
Alf Eaton
0ba978ece0
[visual] Convert pasted HTML to LaTeX ( #12094 )
...
GitOrigin-RevId: a2fd4411ab8655eea834d321025efb9644081252
2023-08-14 08:05:05 +00:00
Alf Eaton
5ab05ce405
[visual] Add decorations for \textsuperscript and \textsubscript ( #14153 )
...
GitOrigin-RevId: 7a5bfc7077131dab7ba9569b7edc0d5daad65347
2023-08-14 08:04:50 +00:00
Alf Eaton
0376129fdd
Merge pull request #14163 from overleaf/ae-maketitle-empty-lines
...
[visual] Preserve empty lines after maketitle
GitOrigin-RevId: c5f040567e220069f96d6962d8bd40334c9f68c8
2023-08-14 08:04:46 +00:00
Mathias Jakobsen
de8c11c435
Merge pull request #14105 from overleaf/mj-table-generator
...
[visual] Initial table generator
GitOrigin-RevId: 5c1a9cad898c988d21390358872a6c2eaf1c32fc
2023-08-09 08:04:15 +00:00
Alf Eaton
a2cff207a7
[cm6] Add LineBreak to LaTeX grammar, highlight and decorate ( #13742 )
...
GitOrigin-RevId: 64c54676e0284b7187678eedcc5096b1aa284cc0
2023-08-04 08:05:26 +00:00
Alf Eaton
dfebac63f1
Move mark decorations after atomic decorations ( #14146 )
...
GitOrigin-RevId: aedaa57ba14e0e5ebf03053beaa1cd3cb1ee5b2b
2023-08-04 08:05:12 +00:00
Alf Eaton
26af633c72
Set text-wrap balance for title ( #13962 )
...
GitOrigin-RevId: 1d447bad517e3a389ed2668c0167aa52fae3be69
2023-08-04 08:05:07 +00:00
Domagoj Kriskovic
929e7ab51d
[visual] calculate preamble position in the main tree iterator ( #13964 )
...
* [cm6] use preambleCheckLimit for finding preamble
* extend in case of title or author
* stop at SectioningCommand, include affiliation
* consistent comment
* using 30000 as node index
* use preambleNodes arr
* calc preamble without array
* remove preamble.to check
GitOrigin-RevId: 2019fd2b9673f181cba8966688f1ac9a6f984279
2023-08-04 08:04:06 +00:00
Alf Eaton
77959eab37
[visual] Provide command definitions to MathJax ( #13761 )
...
GitOrigin-RevId: 845921df363f61d2333c1305b0b3edb86501c296
2023-07-19 08:05:00 +00:00
Alf Eaton
16a196733d
[visual] Apply style to the content of color commands ( #13726 )
...
GitOrigin-RevId: 4ae8b745618e91b487d17c357cdb0e697038b3a3
2023-07-19 08:04:56 +00:00
Alf Eaton
e4266a55c7
[visual] Decorate quotation environments ( #13728 )
...
GitOrigin-RevId: 65c4bb8b4695d0698120936d3b2fb8ec6fa402dc
2023-07-19 08:04:52 +00:00
Domagoj Kriskovic
017e53befc
[visual] suport for \texttt command in maketitle ( #13824 )
...
GitOrigin-RevId: 712eb8fb4fc0f2cbc5cd3c2e39ff6b8af39c0a49
2023-07-19 08:04:28 +00:00
Alf Eaton
165f16b755
[visual] Move the cursor after leading whitespace when creating a new list item on Enter ( #13828 )
...
GitOrigin-RevId: 2f5941627b64fb53efce0bdd6f2d888986f45a9d
2023-07-19 08:04:16 +00:00
Alf Eaton
7d3409cb75
[visual] Add decorations for theorem environments ( #13708 )
...
GitOrigin-RevId: ba78be534fd7efba7d8722a214d69b21b0e3917c
2023-07-19 08:04:12 +00:00
Alf Eaton
03a25c6cf3
Add decorations for textmd and textsf ( #13716 )
...
GitOrigin-RevId: c5bedf2260c4e075e458ac38f90e5746dccdde81
2023-07-17 11:04:50 +00:00
Alf Eaton
7feb60b277
Decorate verbatim and lstlisting environments ( #13722 )
...
GitOrigin-RevId: 2e5af20bf2fe0c7769011ecd26797e93290b4fdb
2023-07-17 11:04:40 +00:00