slop-editor 0.5.1 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vite.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // slop-editor/vite: the slop editor in a Vite app. The words live in one JSON file (src/slopText.json). This puts them in
2
2
  // the page as its text block, with slop.js and slop.css, which render them, and under `vite` (not a build) it answers
3
- // the editor: its Edit text button appears on the page and saves back into the file. A built site has no editor.
3
+ // the editor: it opens on the page and saves back into the file. A built site has no editor.
4
4
  //
5
5
  // import slopEditor from 'slop-editor/vite';
6
6
  // export default defineConfig({ plugins: [react(), slopEditor()] }); // or slopEditor({ text: 'content/words.json' })