diff --git a/package.json b/package.json index 6214a2ea7..ba65c15db 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "test:integration-local": "run-p -r serve playwright", "test:mocha": "mocha --require ./config/babel/register.cjs ./packages/{slate,slate-history,slate-hyperscript}/test/**/*.{js,ts}", "test:jest": "jest --config jest.config.js", + "tsc:examples": "tsc --project ./site/tsconfig.example.json", "watch": "yarn build:rollup --watch", "playwright": "playwright test" }, diff --git a/site/examples/Readme.md b/site/examples/Readme.md index c069b03c0..5bf8cc317 100644 --- a/site/examples/Readme.md +++ b/site/examples/Readme.md @@ -2,16 +2,16 @@ This directory contains a set of examples that give you an idea for how you might use Slate to implement your own editor. Take a look around! -- [**Plain text**](./plaintext.tsx) — showing the most basic case: a glorified `