Commit graph

196 commits

Author SHA1 Message Date
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
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
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
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
BearToCode
cf623603b6 fix(core): lost of elements reference on input change 2023-11-14 22:27:32 +01:00
BearToCode
b070f5dbe2 fix(core): allow any html element as portal for bindToCaret 2023-11-14 21:15:22 +01:00
BearToCode
e52e12f7f1 fix(core): correct row height calculation 2023-11-14 20:51:22 +01:00
BearToCode
e14f9fc666 fix(core): wrong caret elements positioning 2023-11-14 19:13:25 +01:00
BearToCode
0d7442aff6 feat(core): add bindToCaret action 2023-11-14 15:05:54 +01:00
BearToCode
0b9606e6cb refactor: use consistent file name for default styles 2023-11-11 11:19:52 +01:00
BearToCode
f1be96caec docs: update demo links 2023-11-07 17:56:45 +01:00
BearToCode
03ad622870 docs: update links after renaming repo 2023-11-07 17:55:32 +01:00
BearToCode
65f8c98571 ci: run semantic-release-monorepo in all packages 2023-11-07 12:57:05 +01:00
BearToCode
c70f1f9c25 fix: set correct role attribute 2023-11-07 12:13:26 +01:00
BearToCode
f48dcb916e fix: add aria-role 2023-11-07 12:09:49 +01:00
BearToCode
49aeafb4c8 build: replace eslint-plugin-svelte3 with eslint-plugin-svelte 2023-11-07 12:05:05 +01:00
BearToCode
e3a3a90fa4 build(core): remove marked-mangle and gfmheadingids
BREAKING CHANGE: Remove `marked-mangle` and `marked-gfm-heading-id` along with their corresponding
carta options
2023-11-07 11:46:11 +01:00
BearToCode
1c82768337 v2.8.0 2023-11-06 20:57:07 +01:00
BearToCode
9a20373376 build: fix inconsistent marked versions and update to 9.1.5
fix #17
2023-11-06 20:46:27 +01:00
BearToCode
7db5056593 v2.7.2 2023-10-26 20:04:12 +02:00