Custom view/vue component for marks
See original GitHub issueI’ve gone through the documentation and unless I’ve misunderstood something, there are no supported methods for custom views for marks like the 1.0 method:
export default class Something extends Mark {
get view() {
return CustomVueComponent;
}
}
I’ve also taken a look at the mention
extension as a guide for inline nodes but I’m still unsure how to move forward in terms of basic functionality like toggling, component state, and so on.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Jinjiang/vue-mark-display: A Vue Component for Markdown ...
If you want to customize other styles in the component, please be careful. Because they are not guaranteed which means they may be...
Read more >Creating our first Vue component - Learn web development
Now it's time to dive deeper into Vue, and create our own custom component — we'll start by creating a component to represent...
Read more >Node views with Vue – Tiptap Editor
Node views with Vue. Introduction; Render a Vue component; Access node attributes; Update node attributes; Adding a content editable; All available props.
Read more >Watchers | Vue.js
Deep Watchers # ... Deep watch requires traversing all nested properties in the watched object, and can be expensive when used on large...
Read more >How To Use Built-In and Custom Directives in Vue.js
Vue.js comes pre-packaged with a number of directives that developers commonly use when working within the framework. Directives such as v-if , ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Was there a solution to this? Need to render a custom component on the Link mark. Should I create a new Node with Link features?
you could start with something like that: