Commit graph

429 commits

Author SHA1 Message Date
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
Davide
8f4188936e
feat(plugin-attachment): add file pasting functionality (#47) 2024-04-12 07:48:03 +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
f0aaaed536 ci: remove signatures audit step
The step is currently failing due to vite 5.1.6 invalid signatures
2024-03-19 14:50:47 +01:00
BearToCode
3e8e7417d4 build: update dev dependencies 2024-03-18 19:41:22 +01:00
BearToCode
a36b57f0c4 docs: fix labels in wrong section 2024-03-06 19:00:51 +01:00
BearToCode
46a58adbec docs: update sanitizer example 2024-03-05 14:28:53 +01:00
Davide
b0deb50a25
docs: add missing disableIcons option 2024-02-11 14:15:00 +01:00
BearToCode
db3770cece docs: fix links style 2024-01-23 21:25:07 +01:00
BearToCode
00d67f3cbf docs: fix styles and links for community plugins 2024-01-23 21:16:16 +01:00
BearToCode
0af2e23f25 docs: fix margin styles in community plugins 2024-01-22 18:51:15 +01:00
BearToCode
893742d90e docs: add community plugins in README and docs 2024-01-22 18:45:57 +01:00
Davide
d33285251a
feat(cartaeditor): add tooltip on quick toolbar icon buttons (#34) 2024-01-19 09:34:24 +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
Davide
d3f3b4cc09
Add heading anchor link plugin (#31) 2024-01-16 19:27:27 +01:00
BearToCode
4843c27c67 chore: add plugin-achor to list of packages 2024-01-16 19:24:48 +01:00
maisonsmd
8f98e2ad36 docs(add docs for anchor plugin): add docs for anchor plugin
Add docs for anchor plugin
2024-01-16 23:22:26 +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
5b0ce03e6d ci: update pnpm version in workflows 2023-12-19 21:51:56 +01:00
BearToCode
2a7c77e757 ci: update pnpm version in workflows 2023-12-19 21:49:34 +01:00
BearToCode
6fa30f2d3e fix(tikzjax): prevent multiple scripts from being loaded 2023-12-19 21:46:43 +01:00
Davide
b7c8704de3
Improve editor accessibility (#28) 2023-12-17 12:18:26 +01:00
BearToCode
4e097b81ab feat(accessibility): add label to attachment icon 2023-12-17 12:16:02 +01:00
BearToCode
502e564f77 docs: mention accessibility in the docs 2023-12-17 12:06:41 +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
Davide
14be70bb74
feat: add textarea property to allow additional textarea properties (#27) 2023-12-09 11:20:25 +01:00
BearToCode
661cd137d9 feat: add textarea property to allow additional textarea properties
fix #26
2023-12-09 11:15:46 +01:00
Davide
4075b8a76f
fix: prevent form submission by the "write" and "preview" tab buttons (#25) 2023-12-08 18:41:13 +01:00
Christopher Carson
f7f49a513a added type="button" to the tab buttons 2023-12-08 10:35:51 -06:00
Davide
c9002efa7e
docs: use custom warning box 2023-12-02 21:44:59 +01: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
345c987273 docs: fix href 2023-11-19 23:54:39 +01:00
BearToCode
32a9862c4c docs: change content order 2023-11-19 20:13:11 +01:00
BearToCode
d2e82deadd docs: fix wrong search urls 2023-11-19 20:09:40 +01:00
BearToCode
fd189175cd docs: fix wrong search urls 2023-11-19 20:06:05 +01:00
BearToCode
e3200b93a3 docs: fix wrong urls 2023-11-19 20:01:57 +01:00
BearToCode
3420f1893f ci: fix wrong gh-pages dir 2023-11-19 19:56:06 +01:00
Davide
c5f5a8ed1a
docs: add documentation site (#19) 2023-11-19 19:51:27 +01:00