slint/tools/online_editor
Tobias Hunger 29c1086050 Online editor: Add link to Slint language reference
This link works on the slint web site, but not when run locally. We do
not expect this to have users outside of the Slint site, so we are
willing to accept this limitation.

Please open a bug report if you indeed use the online editor elsewhere
and are bothered by the link.
2022-06-01 10:14:43 +02:00
..
.gitignore Ignore the generated pkg/ directory 2020-10-12 11:26:15 +02:00
highlighting.ts Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
index.html Online editor: Add link to Slint language reference 2022-06-01 10:14:43 +02:00
index.ts Remove the ugly style 2022-04-13 10:35:42 +02:00
package.json Bump version number to 0.2.5 2022-05-09 16:16:00 +00:00
preview.html Rename the wasm-interpreter and the online_editor 2022-02-02 12:26:55 +01:00
preview.ts Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
README.md online_editor: Some documentation in the README 2022-05-14 11:59:01 +02:00
tsconfig.json Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
vite.config.js Update copyright information to reflect name change 2022-02-09 10:27:47 +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.