diff --git a/CHANGELOG.md b/CHANGELOG.md
index ba97155..670c30c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## 0.7.3 - 2024-02-27
+
+### 🐛 Fix a bug
+
+- Fix possible null ref on startup
+- Replace \r\n with \n when pasting, to prevent crash in windows (#153)
+
+### 🗑️ Deprecate code that needs to be cleaned up
+
+- Remove useless exports (#144)
+
## 0.7.2 - 2024-02-25
### ✨ Introduce new features
diff --git a/CodeMirror6/CodeMirror6.csproj b/CodeMirror6/CodeMirror6.csproj
index 68bd8ad..80123a9 100644
--- a/CodeMirror6/CodeMirror6.csproj
+++ b/CodeMirror6/CodeMirror6.csproj
@@ -9,7 +9,7 @@
GaelJ.BlazorCodeMirror6
true
GaelJ.BlazorCodeMirror6
- 0.7.2
+ 0.7.3
true
snupkg
true
diff --git a/CodeMirror6/NodeLib/src/CmCommands.ts b/CodeMirror6/NodeLib/src/CmCommands.ts
index f182aa6..e7d842e 100644
--- a/CodeMirror6/NodeLib/src/CmCommands.ts
+++ b/CodeMirror6/NodeLib/src/CmCommands.ts
@@ -289,6 +289,7 @@ export async function cut(view: EditorView) {
export async function paste(view: EditorView): Promise {
try {
let text = await navigator.clipboard.readText()
+ text = text.replace(/\r\n/g, '\n')
/*
let items = await navigator.clipboard.read()
const htmlItems = items.filter(item => item.types.includes("text/html"))
diff --git a/CodeMirror6/NodeLib/src/CmHelpers.ts b/CodeMirror6/NodeLib/src/CmHelpers.ts
index 1b720ad..ac7a77b 100644
--- a/CodeMirror6/NodeLib/src/CmHelpers.ts
+++ b/CodeMirror6/NodeLib/src/CmHelpers.ts
@@ -10,7 +10,7 @@ const hasOverlap = (x1: number, x2: number, y1: number, y2: number) => {
export const isCursorInRange = (state: EditorState, from: number, to: number) => {
const id = getIdFromState(state)
- if (!CMInstances[id].config.showMarkdownControlCharactersAroundCursor) return false
+ if (!CMInstances[id].config?.showMarkdownControlCharactersAroundCursor) return false
return state.selection.ranges.some((range) => {
return hasOverlap(from, to, range.from, range.to)
})
diff --git a/CodeMirror6/NodeLib/src/index.ts b/CodeMirror6/NodeLib/src/index.ts
index b4d1c5d..31d9d42 100644
--- a/CodeMirror6/NodeLib/src/index.ts
+++ b/CodeMirror6/NodeLib/src/index.ts
@@ -63,7 +63,7 @@ import { createEditorWithId } from "./CmId"
import { hyperLink } from './CmHyperlink'
import { customArrowKeymap, customDeleteKeymap } from "./CmKeymap"
-export { csvToMarkdownTable, getCmInstance, cut, copy, paste }
+export { getCmInstance }
/**
* Initialize a new CodeMirror instance
diff --git a/Examples.BlazorServer/Examples.BlazorServer.csproj b/Examples.BlazorServer/Examples.BlazorServer.csproj
index aeb8832..396202a 100644
--- a/Examples.BlazorServer/Examples.BlazorServer.csproj
+++ b/Examples.BlazorServer/Examples.BlazorServer.csproj
@@ -4,7 +4,7 @@
enable
false
enable
- 0.7.2
+ 0.7.3
diff --git a/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj b/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj
index fbc9bc4..97aa5ec 100644
--- a/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj
+++ b/Examples.BlazorServerInteractive/Examples.BlazorServerInteractive.csproj
@@ -4,7 +4,7 @@
enable
enable
false
- 0.7.2
+ 0.7.3
diff --git a/Examples.BlazorWasm/Examples.BlazorWasm.csproj b/Examples.BlazorWasm/Examples.BlazorWasm.csproj
index 3d4547a..7363635 100644
--- a/Examples.BlazorWasm/Examples.BlazorWasm.csproj
+++ b/Examples.BlazorWasm/Examples.BlazorWasm.csproj
@@ -4,7 +4,7 @@
enable
enable
false
- 0.7.2
+ 0.7.3
diff --git a/Examples.Common/Examples.Common.csproj b/Examples.Common/Examples.Common.csproj
index d301166..57f6806 100644
--- a/Examples.Common/Examples.Common.csproj
+++ b/Examples.Common/Examples.Common.csproj
@@ -5,7 +5,7 @@
enable
enable
false
- 0.7.2
+ 0.7.3
diff --git a/NEW_CHANGELOG.md b/NEW_CHANGELOG.md
index 575b317..8d83b39 100644
--- a/NEW_CHANGELOG.md
+++ b/NEW_CHANGELOG.md
@@ -1,7 +1,8 @@
-### ✨ Introduce new features
+### 🐛 Fix a bug
-- Support multiple cursors for arrow / shift / ctrl / ctrl-shift + arrow keys
+- Fix possible null ref on startup
+- Replace \r\n with \n when pasting, to prevent crash in windows (#153)
-### 📝 Add or update documentation
+### 🗑️ Deprecate code that needs to be cleaned up
-- Add an example using ref
+- Remove useless exports (#144)