@odyzeo/wysiwyg

2.10.0 • Public • Published

wysiwyg

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Run your end-to-end tests

npm run test:e2e

Lints and fixes files

npm run lint

Translations

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 strings

Extract translations w/

npm run lang

Customize configuration

See Configuration Reference.

#TODO

  • move WysiwygSnippet to plugins
  • move WTabPreviewMobile to plugins
  • move WCopyToClipboard and WPasteFromClipboard to plugins

Readme

Keywords

none

Package Sidebar

Install

npm i @odyzeo/wysiwyg

Weekly Downloads

0

Version

2.10.0

License

none

Unpacked Size

6.14 MB

Total Files

180

Last publish

Collaborators

  • tomas.zamba
  • patrik.dikant
  • peter.slavka
  • jakapo.simek