@tinymce/tinymce-vue
Official TinyMCE Vue component
About
Official Vue component for TinyMCE, the rich text editor. It wraps TinyMCE as a Vue <Editor /> component. By default, it pulls TinyMCE from the Tiny Cloud CDN unless configured to use a different setup, such as self-hosting the tinymce NPM package.
Quickstart
Cloud CDN
- Sign up for a Tiny Cloud account to receive a Tiny Cloud API key.
- Then in your Vue project:
-
Run
npm install @tinymce/tinymce-vue -
Include the following code:
<template> <h1>TinyMCE Vue demo</h1> <Editor api-key="your-api-key" v-model="content" :init="{ plugins: 'lists link image table code help wordcount' }" /> </template> <script setup> import { ref } from 'vue'; import Editor from '@tinymce/tinymce-vue'; const content = ref('<p>Initial value</p>'); </script> -
Update the
api-keyprop on theEditorcomponent to include your Tiny Cloud API key.
-
For more information: Using TinyMCE with Vue - Cloud CDN
Self hosted via NPM package
Using TinyMCE from NPM in a Vue project requires a couple of extra steps. See the documentation for more information: Using TinyMCE with Vue - Self hosted via NPM
Demos
For our quick demos, check out the TinyMCE Vue Storybook.
Detailed documentation
Vue Version Compatibility
| vue | tinymce-vue |
|---|---|
| 3.x | 4.0 and above |
| 2.x | Versions prior to 4.0 |
Issues
Have you found an issue with tinymce-vue or do you have a feature request? Open up an issue and let us know or submit a pull request. Note: for issues related to TinyMCE please visit the TinyMCE repository.
License
tinymce-vue is licensed under the MIT License. See the LICENSE.txt file for details.
Depending on use case, the TinyMCE core editor can be used under either GPL-2.0-or-later or a commercial license. See the tinymce package for details.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 6.3.0 | ^3.0.0 | MIT | |
| 6.2.0 | ^3.0.0 | MIT | |
| 6.1.0 | ^3.0.0 | MIT | |
| 6.0.1 | ^3.0.0 | MIT | |
| 6.0.0 | ^3.0.0 | MIT | |
| 5.1.1 | ^3.0.0 | MIT | |
| 5.1.0 | ^3.0.0 | MIT | |
| 5.0.1 | ^3.0.0 | MIT | |
| 5.0.0 | ^3.0.0 | MIT | |
| 4.0.7 | ^3.0.0 | Apache-2.0 | |
| 4.0.6 | ^3.0.0 | Apache-2.0 | |
| 4.0.5 | ^3.0.0 | Apache-2.0 | |
| 4.0.4 | ^3.0.0 | Apache-2.0 | |
| 4.0.3 | ^3.0.0 | Apache-2.0 | |
| 4.0.2 | ^3.0.0 | Apache-2.0 | |
| 4.0.1 | ^3.0.0 | Apache-2.0 | |
| 4.0.0 | ^3.0.0 | Apache-2.0 | |
| 3.2.8 | ^2.4.3 | Apache-2.0 | |
| 3.2.7 | ^2.4.3 | Apache-2.0 | |
| 3.2.6 | ^2.4.3 | Apache-2.0 | |
| 3.2.5 | ^2.4.3 | Apache-2.0 | |
| 3.2.4 | ^2.4.3 | Apache-2.0 | |
| 3.2.3 | ^2.4.3 | Apache-2.0 | |
| 3.2.2 | ^2.4.3 | Apache-2.0 | |
| 3.2.1 | ^2.4.3 | Apache-2.0 | |
| 3.2.0 | ^2.4.3 | Apache-2.0 | |
| 3.1.0 | ^2.4.3 | Apache-2.0 | |
| 3.0.1 | ^2.4.3 | Apache-2.0 | |
| 3.0.0 | ^2.4.3 | Apache-2.0 | |
| 2.1.0 | ^2.5.17 | Apache-2.0 |
Showing the latest 30 of 44. See every release on npm
Pre-releases (314)
| Version | Released | Vue | License |
|---|---|---|---|
| 7.0.2-feature.20240725003258515.sha7472fcb | ^3.0.0 | MIT | |
| 7.0.2-feature.20240725002541052.shadf436a4 | ^3.0.0 | MIT | |
| 7.0.2-feature.20240725002439123.sha8a63ae4 | ^3.0.0 | MIT | |
| 7.0.2-feature.20240725002418921.sha0ba15d3 | ^3.0.0 | MIT | |
| 7.0.2-rc.20240725002026256.sha7472fcb | ^3.0.0 | MIT | |
| 7.0.2-feature.20240724040948721.sha75f262c | ^3.0.0 | MIT | |
| 7.0.0-feature.20250724023350156.shabde398a | ^3.0.0 | MIT | |
| 7.0.0-feature.20250718185735959.sha85e8ed0 | ^3.0.0 | MIT | |
| 7.0.0-feature.20250513205522744.shaf06793d | ^3.0.0 | MIT | |
| 7.0.0-feature.20250513082207860.sha36876f6 | ^3.0.0 | MIT | |
| 7.0.0-feature.20250513081139763.sha8c0f5aa | ^3.0.0 | MIT | |
| 7.0.0-feature.20250513075831125.shabf1efb3 | ^3.0.0 | MIT | |
| 7.0.0-feature.20250505093946120.shadd4d271 | ^3.0.0 | MIT | |
| 7.0.0-feature.20250429143313651.shae3a75fc | ^3.0.0 | MIT | |
| 7.0.0-rc.20241021060525779.shaccb8e9f | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021055533834.shaf385e73 | ^3.0.0 | MIT | |
| 7.0.0-rc.20241021055334465.shade11a47 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021054140741.shabbb6ee8 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021054018425.sha7ba32af | ^3.0.0 | MIT | |
| 7.0.0-rc.20241021053935129.sha086c4de | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021052920505.shaedcf01b | ^3.0.0 | MIT | |
| 7.0.0-rc.20241021052220340.shaccc0099 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021051442868.sha63fe7c5 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021050140049.shae5046b0 | ^3.0.0 | MIT | |
| 7.0.0-rc.20241021045713177.sha28169fa | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021043031392.sha8ba5088 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021040048329.shad9132e6 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021034941515.sha31677e8 | ^3.0.0 | MIT | |
| 7.0.0-feature.20241021034117435.shac4d738c | ^3.0.0 | MIT | |
| 7.0.0-feature.20241018011021558.shabe5fdc0 | ^3.0.0 | MIT |
Showing the latest 30 of 314. See every release on npm