@odyzeo/wysiwyg
v3.31.3
Published
## Project setup ``` npm install ```
Keywords
Readme
wysiwyg
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildRun your unit tests
npm run test:unitRun your end-to-end tests
npm run test:e2eLints and fixes files
npm run lintTranslations
When using Wysiwyg in project we expect you are using v18n translation plugin.
So we use $t and $tc functions in this plugin, hope you will use v18n and it will translate the keys.
If you are not using v18n you can define $t and $tc mixin as you can see in App.vue.
You can get default (Slovak!) translation keys:
import { translations } from '@/index'; // flat 'key: value' object w/ available strings
import { sk } from '@/index'; // nested 'key: value' object w/ available stringsExtract translations w/
npm run langCustomize configuration
#TODO
- move WysiwygSnippet to plugins
- move WTabPreviewMobile to plugins
- move WCopyToClipboard and WPasteFromClipboard to plugins
