From e7045ad2c68a6c7ba038b4c56484304b1db5778c Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Nov 2024 13:05:30 +0100 Subject: [PATCH] up --- .../hooks/Bonfire.Editor.TextareaLive.hooks.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 flavours/classic/config/flavour_assets/hooks/Bonfire.Editor.TextareaLive.hooks.js diff --git a/flavours/classic/config/flavour_assets/hooks/Bonfire.Editor.TextareaLive.hooks.js b/flavours/classic/config/flavour_assets/hooks/Bonfire.Editor.TextareaLive.hooks.js new file mode 100644 index 0000000000..7aa52d361a --- /dev/null +++ b/flavours/classic/config/flavour_assets/hooks/Bonfire.Editor.TextareaLive.hooks.js @@ -0,0 +1,14 @@ +/* +This file was generated by the Surface compiler. +*/ + +import { subscribe } from "@github/paste-markdown"; + +export default { + mounted() { + subscribe(this.el); + }, +}; + +// assets/js/app.js +import "@github/markdown-toolbar-element"; \ No newline at end of file