dymantic / vue-trix-editor Goto Github PK
View Code? Open in Web Editor NEWA rich text editor as a Vue component, with image and auto-save support
License: MIT License
A rich text editor as a Vue component, with image and auto-save support
License: MIT License
package is great, but i am missing to custom axios. I need change baseUrl and token, can't find solution for this.
The plugin is working fine but there is no support for alt attributes
Please help to resolve this issue on the console,
When I use below code n due file, everything went well but I get an error in console
<template>
<div>
<p>Working</p>
<trix-vue v-model="body"></trix-vue>
</div>
</template>
<script>
import TrixVue from '@dymantic/vue-trix-editor';
export default {
data(){
return {
body: 'Helo'
}
},
components: {TrixVue}
}
</script>
<style scoped>
</style>
console Errol
[Error] [Vue warn]: Unknown custom element: <trix-editor> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> at TrixVueWysiwyg.vue
at resources/js/components/Sandbox/MyTrix.vue
warn (app.js:38582)
createElm (app.js:43557)
createChildren (app.js:43671)
createElm (app.js:43573)
patch (app.js:44080)
_update (app.js:40649)
updateComponent (app.js:40777)
get (app.js:41131)
Watcher (app.js:41120)
mountComponent (app.js:40784)
init (app.js:42126)
createComponent (app.js:43597)
createElm (app.js:43544)
createChildren (app.js:43671)
createElm (app.js:43573)
patch (app.js:44080)
_update (app.js:40649)
updateComponent (app.js:40777)
get (app.js:41131)
Watcher (app.js:41120)
mountComponent (app.js:40784)
init (app.js:42126)
createComponent (app.js:43597)
createElm (app.js:43544)
createChildren (app.js:43671)
createElm (app.js:43573)
createChildren (app.js:43671)
createElm (app.js:43573)
createChildren (app.js:43671)
createElm (app.js:43573)
patch (app.js:44119)
_update (app.js:40649)
updateComponent (app.js:40777)
get (app.js:41131)
Watcher (app.js:41120)
mountComponent (app.js:40784)
_init (app.js:42629)
Vue (app.js:42718)
(anonymous function) (app.js:63770)
webpack_require (app.js:20)
(anonymous function) (app.js:63687)
webpack_require (app.js:20)
(anonymous function) (app.js:63)
Global Code (app.js:64)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (favicon.ico, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (TrixVue.umd.js.map, line 0)
That's how the trix-editor does it right ? I have to upload an attachment to the server once the attachment is attached in the editor ? it should have it like this righ t?
imageAttached(file){
console.log("image attached",file);
Please include documentation on how to import this component to our application
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.