mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Reset md content on update
This commit is contained in:
@@ -5,6 +5,9 @@ const Markdown: Directive = {
|
||||
beforeMount(el, binding) {
|
||||
el.innerHTML = md(binding.value ?? '');
|
||||
},
|
||||
updated(el, binding) {
|
||||
el.innerHTML = md(binding.value ?? '');
|
||||
},
|
||||
};
|
||||
|
||||
export default Markdown;
|
||||
|
||||
Reference in New Issue
Block a user