From 87ce8062165af374cda6e76c25f4a0d2968aa388 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 18 Oct 2021 18:47:27 +0200 Subject: [PATCH] Monaco sample. --- .../wwwroot/scripts/editor-editorjs.html | 2 - .../wwwroot/scripts/editor-monaco.html | 77 +++++++++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 backend/src/Squidex/wwwroot/scripts/editor-monaco.html diff --git a/backend/src/Squidex/wwwroot/scripts/editor-editorjs.html b/backend/src/Squidex/wwwroot/scripts/editor-editorjs.html index 89ba7eecb..d5d44b781 100644 --- a/backend/src/Squidex/wwwroot/scripts/editor-editorjs.html +++ b/backend/src/Squidex/wwwroot/scripts/editor-editorjs.html @@ -59,8 +59,6 @@ editor.save().then(function (data) { // Notify the UI that the value has been changed. Will be used to trigger validation. field.valueChanged(data); - - console.log(JSON.stringify(data, null, 2)); }); } }); diff --git a/backend/src/Squidex/wwwroot/scripts/editor-monaco.html b/backend/src/Squidex/wwwroot/scripts/editor-monaco.html new file mode 100644 index 000000000..2ce0a0af0 --- /dev/null +++ b/backend/src/Squidex/wwwroot/scripts/editor-monaco.html @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + +
+ + + + + \ No newline at end of file