diff --git a/src/components/graph/GraphModelerConfigBar.vue b/src/components/graph/GraphModelerConfigBar.vue index f8ce508..dd61d12 100644 --- a/src/components/graph/GraphModelerConfigBar.vue +++ b/src/components/graph/GraphModelerConfigBar.vue @@ -12,15 +12,26 @@
- +
-

Are you sure you want to deactivate your account? All of your data will be permanently removed. This action cannot be undone.

+

+ You can use markdown to add styles to the content displayed for this node. + Text containing HTML code will be rendered as HTML. +

+
@@ -143,7 +154,6 @@ import { Modal } from '@/utils/modal'; import ModalComponent from '@/components/shared/ModalComponent.vue'; - // import TUIEditor from '@/components/shared/tui-editor-vue/TUIEditor.vue' import EasymdeView from '@/components/shared/easymde' import EasyMDE from 'easymde'; @@ -152,10 +162,9 @@ }>(); /* Modal definitions */ - const modal_field_content = new Modal(); - const modal_field_content_editor = ref('sdfdsfds'); + const modal_field_content = new Modal({read_more: false}); + const modal_field_content_editor = ref(''); const modal_field_content_accept = () => { - console.log(node_content, modal_field_content_editor) node_content.value = modal_field_content_editor.value; modal_field_content.close(); } @@ -249,4 +258,9 @@ button.action-btn-remove { @apply font-normal bg-red-100 hover:bg-red-200 border border-red-200; @apply hover:border-red-400 text-red-900 px-3 py-0.5 rounded; } + +p a { + @apply text-blue-600 hover:text-blue-500 +} + \ No newline at end of file diff --git a/src/components/shared/ModalComponent.vue b/src/components/shared/ModalComponent.vue index 120dda9..dd5aba0 100644 --- a/src/components/shared/ModalComponent.vue +++ b/src/components/shared/ModalComponent.vue @@ -4,12 +4,14 @@