From 5c09bd4375e67874c870208b688e7a9feb8437bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 7 Feb 2024 11:09:57 +0100 Subject: [PATCH 1/5] =?UTF-8?q?=E2=9C=A8=20Expose=20CodeMirrorState,=20for?= =?UTF-8?q?=20@ref=20access?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CodeMirror6/CodeMirror6Wrapper.razor.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CodeMirror6/CodeMirror6Wrapper.razor.cs b/CodeMirror6/CodeMirror6Wrapper.razor.cs index 92109b80..ac7c8931 100644 --- a/CodeMirror6/CodeMirror6Wrapper.razor.cs +++ b/CodeMirror6/CodeMirror6Wrapper.razor.cs @@ -181,6 +181,12 @@ public partial class CodeMirror6Wrapper : ComponentBase /// public CMCommandDispatcher? CommandDispatcher => CodeMirror6WrapperInternalRef.CmJsInterop?.CommandDispatcher; + /// + /// State of the CodeMirror6 editor + /// + /// + public CodeMirrorState State => CodeMirror6WrapperInternalRef.State; + private CodeMirror6WrapperInternal CodeMirror6WrapperInternalRef = null!; private ErrorBoundary? ErrorBoundary; From 39766e94a9a5f16e165ab597aa00fbf1ce466e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Wed, 7 Feb 2024 22:28:55 +0100 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=9D=20Fix=20menu=20title=20in=20ex?= =?UTF-8?q?ample=20project?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Examples.Common/Shared/NavMenu.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples.Common/Shared/NavMenu.razor b/Examples.Common/Shared/NavMenu.razor index db17d8d2..94a72508 100644 --- a/Examples.Common/Shared/NavMenu.razor +++ b/Examples.Common/Shared/NavMenu.razor @@ -1,6 +1,6 @@