slint/tools/online_editor
Tobias Hunger b949689e35 Revert "tools: Put code shared between online editor and vscode in NPM package"
This caused trouble with both the online editor as well as the VSCode
extension when built in CI.

This reverts commit c8b434021e.
2022-11-25 17:34:32 +01:00
..
cypress chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
src Revert "tools: Put code shared between online editor and vscode in NPM package" 2022-11-25 17:34:32 +01:00
static Redo online_editor (#1593) 2022-09-07 17:08:55 +02:00
styles chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
.eslintrc.yml chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
.gitignore Ignore the generated pkg/ directory 2020-10-12 11:26:15 +02:00
cypress.config.ts chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
index.html chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
package.json Revert "tools: Put code shared between online editor and vscode in NPM package" 2022-11-25 17:34:32 +01:00
preview.html chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
README.md chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
tsconfig.default.json chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
tsconfig.json chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
vite.config.js chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00

Slint Online Editor

This directory contains the frontend code for the online code editor which is hosted in https://slint-ui.com/editor (last stable) and https://slint-ui.com/snapshots/master/editor (nightly)

To try it out locally type this in this directory:

npm install
npm start

Documentation

The index.html page contains a code editor and every key press reload the preview. The preview.html page contains only the preview and the code must be given via query parameter.