1.0.15 • Published 4 years ago

editeur-vue v1.0.15

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

install

npm install editeur-vue --save

usage

Ant Design is used in component. If you want to use it, you need to import Ant Design as well. you can import the component I use in it like this:

// main.js
import { Dropdown, Input, Tooltip, Icon } from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css';

import editor from 'editeur-vue'

Vue.use(Dropdown)
Vue.use(Input)
Vue.use(Tooltip)
Vue.use(Icon)

Vue.component(editor.name, editor)

or import whole ant design like this:

// main.js
import antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css';
import editor from 'editeur-vue'

Vue.use(antd)
Vue.component(editor.name, editor)

then you can use it in template just like this:

<editeur width="600px" height="400px"></editeur>

property

nametypedefalutinstruction
widthstring600pxwidth of the editor element
heightstring400pxheight of the editor element

Note

this repostry is just an example to implement editeur.js's fuction.

font-family and init function is not use in this component.

In this component there are some problems in it.They are caused by editeur.js and maybe fixed later.

If you have any custmized event of methods request, you can add it yourself

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.12

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago