Example
<markdown
content="{{content}}"
bind:taplink="onTapLink"
>
</markdown>
Page({
data: {
content: "## Hello World\n\nThis is a markdown editor\n**bold**\n*italic*\n\n[link: tiptap-markdown](https://github.com/aguingand/tiptap-markdown)\n\n[deeplink](bnc://app.binance.com/mp/app?appId=bqpqWKnedCqoZ3wVcx4z98)\n",
editorStyle: "height: calc(100% - 50px)",
},
onLoad() {},
onTapLink(e) {
console.log("onTapLink ===>", e);
},
});
Props
| Name | Type | Description |
|---|
content | string | Â |
Events
| Name | Description |
|---|
bindtaplink | when the link has clicked, taplink will be emitted |
Last modified on