Commit graph

277 commits

Author SHA1 Message Date
BearToCode
dfc8812123 fix(plugin-tikz): prevent crash when className property is not set 2024-04-14 18:37:48 +02:00
BearToCode
54358b649b fix(plugin-code): do not import isSingleTheme for main package
fix #50
2024-04-14 18:24:18 +02:00
BearToCode
7ad874e6aa fix(plugin-code): module not found error 2024-04-14 18:08:33 +02:00
BearToCode
1a61f58e7d fix(plugin-tikz): invalid version 2024-04-12 16:22:49 +02:00
BearToCode
7d4034c316 fix(plugin-code): invalid version 2024-04-12 16:18:06 +02:00
BearToCode
26241b5bcd fix(plugin-emoji): invalid version 2024-04-12 16:12:56 +02:00
BearToCode
3785fd01c0 fix(plugin-slash): invalid version 2024-04-12 16:07:48 +02:00
BearToCode
c9be45a1ee fix(plugin-math): invalid version 2024-04-12 16:02:45 +02:00
BearToCode
58a7a8848f chore: migrate plugin-attachment 2024-04-12 08:29:41 +02:00
BearToCode
255913bd35 docs: minor fixes 2024-04-12 08:24:47 +02:00
BearToCode
7e4a387523 docs: update docs, add migration guide 2024-04-12 08:24:46 +02:00
BearToCode
342c8d24d0 feat: use unified+rehype for parsing markdown
`marked` has been replaced with a more modern setup involving Unified JS, Rehype and various
plugins.

BREAKING CHANGE: Replaced `marked` with `unified` and `rehype`
2024-04-12 08:24:46 +02:00
BearToCode
9e1b0d1850 docs: update README 2024-04-12 08:24:46 +02:00
BearToCode
b30b2af6d9 fix: default theme placeholder color 2024-04-12 08:24:46 +02:00
BearToCode
c6a81acedd fix: default theme caret color 2024-04-12 08:24:46 +02:00
BearToCode
d1590ea384 build: move plugins peer-deps to v4 2024-04-12 08:24:46 +02:00
BearToCode
24be57a10f refactor: require explicit disabling of sanitizer
BREAKING CHANGE: Require `sanitizer` to be provided in the options. To disable it, set it explicitly
to `false`.
2024-04-12 08:24:46 +02:00
BearToCode
eb647b416f refactor: do not store options inside Carta
BREAKING CHANGE: Remove `Carta.options`. Update API
2024-04-12 08:24:46 +02:00
BearToCode
ae15b5b590 feat: use shiki for syntax highlighting
Remove Speed-Syntax Highlight, as the newer versions stopped working, and use ShikiJS instead. Also
has better syntax and more languages supported.

BREAKING CHANGE: Replace SHJ with ShikiJS, removed old themes and added new ones.
2024-04-12 08:24:46 +02:00
BearToCode
6e9cb68141 wip: use shiki for highlighting 2024-04-12 08:24:45 +02:00
BearToCode
f0abf195b8 refactor: remove verbose prefixes
Remove "Carta" prefixes from various interface/components.

BREAKING CHANGE: Different objects have been renamed
2024-04-12 08:24:37 +02:00
ev
bed8ba5d47 feat(plugin-attachment): add file pasting functionality
allows pasting of files using a paste listener similar to github's readme editor

re #45
2024-04-12 01:28:54 +01:00
BearToCode
b7fecea206 fix: update katex to latest version 2024-03-28 20:31:16 +01:00
BearToCode
aeac8073b3 fix: icons oveflows 2024-03-19 18:37:42 +01:00
BearToCode
e430bf035a feat: add icons menu
Add a collapsable icons menu to the toolbar

fix #42
2024-03-19 15:16:54 +01:00
BearToCode
3e8e7417d4 build: update dev dependencies 2024-03-18 19:41:22 +01:00
maisonsmd
4693658089 feat(cartaeditor): add tooltip on quick toolbar icon buttons
add tooltip on quick toolbar icon buttons
2024-01-18 10:39:51 +07:00
maisonsmd
2884ceeff1 feat(add new plugin: anchor): add new plugin: anchor
Add ability to render anchor links after headings
2024-01-16 23:17:32 +07:00
BearToCode
5ddddbdc2e fix(plugin-math): automatically enable displayMode for blocks 2024-01-06 12:31:12 +01:00
BearToCode
6fa30f2d3e fix(tikzjax): prevent multiple scripts from being loaded 2023-12-19 21:46:43 +01:00
BearToCode
4e097b81ab feat(accessibility): add label to attachment icon 2023-12-17 12:16:02 +01:00
BearToCode
dc270ffce9 fix(accessibility): better tab support, allow editor unfocus by using tab 2023-12-17 12:01:57 +01:00
BearToCode
68350779f6 feat(accessibility): arrow keys navigation, add aria-roles
fix #22
2023-12-17 12:01:46 +01:00
BearToCode
56e1572a75 chore: add aria labels to icons 2023-12-17 12:01:15 +01:00
Davide
1b75fe794e
feat: add custom labels support (#23)
* feat: add custom labels
* build: pin prettier to v3.1.0
2023-12-16 23:23:38 +01:00
BearToCode
661cd137d9 feat: add textarea property to allow additional textarea properties
fix #26
2023-12-09 11:15:46 +01:00
Christopher Carson
f7f49a513a added type="button" to the tab buttons 2023-12-08 10:35:51 -06:00
BearToCode
7bdd027b0a docs: update old links in readme 2023-11-29 22:30:45 +01:00
BearToCode
0bef4b8d37 docs: add links to images 2023-11-19 23:55:56 +01:00
BearToCode
1d78d5b7b7 docs: use same color for all shields 2023-11-19 19:44:57 +01:00
BearToCode
18ca2902ab docs: fix broken align 2023-11-19 19:43:25 +01:00
BearToCode
71d41f6ee7 docs: fix broken shield 2023-11-19 19:42:35 +01:00
BearToCode
e510e913df docs: update all READMEs 2023-11-19 19:37:48 +01:00
BearToCode
a0325eb73d style: format files using new prettier version 2023-11-19 12:04:11 +01:00
BearToCode
08d52652d1 style: update prettier 2023-11-19 12:04:11 +01:00
BearToCode
c063d314d6 fix(core): correct carta viewer class 2023-11-16 18:59:02 +01:00
BearToCode
be8a860bcb fix(core): teleported elements theme class 2023-11-15 21:43:39 +01:00
BearToCode
b187a6a904 fix(core): keep history state when reloading input 2023-11-15 21:26:52 +01:00
BearToCode
a61e04987c refactor(core): use local highlighting rules 2023-11-15 20:43:21 +01:00
BearToCode
4cdd7ed551 fix: custom markdown not correctly loaded 2023-11-15 19:17:38 +01:00