![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
EN
CN
$ yarn add minimce
Dependencies:vue element-ui
Optional: imgpond filepool
import { Minimce } from 'minimce'
components: { Minimce }
Globally:
import Minimce from 'minimce'
Vue.use(Minimce)
<Minimce v-model=""/>
Attribute | Description | Way Of Configuration | Type | Accepted Values | Default |
---|---|---|---|---|---|
value / v-model | 双绑 | props | String | ||
apiKey | tinymce api key | global,props | String | https://www.tiny.cloud/auth/signup/ | |
disabled | 是否禁用(禁用模式不可编辑,保留工具栏) | props | Boolean | ||
readonly | 是否只读(只读模式仅展示html,相当于预览) | props | Boolean | ||
html2text | 是否开启html转普通文本功能 | global,props | Boolean | false | |
text | value对应的普通文本(仅在html2text为true时有效) | props | String | ||
textMaxlength | 普通文本取自前多少个字符(设置为Infinity则不设上限) | global,props | Number | 30 | |
Imgpond | 上传图片插件(配置后自动开启功能) | global | Vue Component | ||
Filepool | 上传文件插件(配置后自动开启功能) | global | Vue Component | ||
audioMenuItem | 是否显示音频上传按钮(仅在配置了Filepool时有效) | global,props | Boolean | true | |
MobileLink | 插入移动端页面链接插件(配置后自动开启功能) | global | Vue Component |
Imgpond
You can use Imgpond to upload local images.
import Imgpond from 'imgpond'
Vue.use(Imgpond)
import Minimce from 'minimce'
Vue.use(Minimce, {
Imgpond: Imgpond.Imgpond //默认导出的是普通对象 Imgpond.Imgpond才是组件本身
})
Filepool
You can use Filepool to upload local audio and video.
import Filepool from 'filepool'
Vue.use(Filepool)
import Minimce from 'minimce'
Vue.use(Minimce, {
Filepool: Filepool.Filepool //默认导出的是普通对象 Filepool.Filepool才是组件本身
})
MobileLink
tinymce的插入链接功能只能插入普通链接 如果需要定制化需求 比如想要插入的链接是移动端某个页面的链接 可以自定义一个组件
组件通过this.$eventBus.emit('insertTag', `<div/>`)
插入标签
import { EventBus } from 'plain-kit'
Vue.use(EventBus) //需要事件总线通信
import MobileLink from '@/components/MobileLink'
import Minimce from 'minimce'
Vue.use(Minimce, {
MobileLink
})
FAQs
Rich text editor, offline TinyMCE Vue 2.6/2.7/3 isomorphic wrapper.
The npm package minimce receives a total of 49 weekly downloads. As such, minimce popularity was classified as not popular.
We found that minimce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.