🐛 Fix text editor wasm playground

This commit is contained in:
Andrey Antukh
2026-01-13 10:08:37 +01:00
parent f0e53d70ae
commit dc44156b53
4 changed files with 10 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ The Text Editor Playground provides an isolated environment to test the new rend
2. Start the development server:
```sh
yarn dev
pnpm run dev
```
3. Open your browser and go to:
@@ -78,14 +78,14 @@ This will launch the playground interface where you can interactively test text
### Updating the WASM Renderer
To update the `render_wasm.wasm` and `render_wasm.js` files used by the playground:
To update the `render-wasm.wasm` and `render-wasm.js` files used by the playground:
1. Make sure you have the latest compiled WASM files in `frontend/resources/public/js/`.
2. From the `frontend/text-editor` directory, run:
```sh
yarn wasm:update
pnpm run wasm:update
```
This script will copy the latest `render_wasm.wasm` and `render_wasm.js` into the playgrounds `src/wasm/` directory, ensuring the playground uses the most recent build.