slint/tools/online_editor
Tobias Hunger 71199fbb16 online editor: Have LSP trigger updates in the Properties View
We still get some updates from the editor that we do not really need
anymore, but we also get updtaes from the LSP now.

This fixes e.g. the property value being out of sync right after you
changed it in the property editor.
2022-12-05 15:13:14 +01:00
..
cypress chore: Configure prettier and reformat the online_editor 2022-11-03 10:51:07 +01:00
src online editor: Have LSP trigger updates in the Properties View 2022-12-05 15:13:14 +01:00
static Redo online_editor (#1593) 2022-09-07 17:08:55 +02:00
styles online editor: Add zoom level to preview widget 2022-12-02 17:14:05 +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 Bump version number to 0.3.3 2022-11-28 13:11:11 +00: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.