@flozy/editor 10.3.6 → 10.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1007,7 +1007,7 @@ const getCopiedHTMLFormat = domRange => {
1007
1007
  const getCopiedSlateFormat = editor => {
1008
1008
  // Get Slate fragment
1009
1009
  const fragment = JSON.stringify(Editor.fragment(editor, editor.selection));
1010
- const encodedFragment = window.btoa(decodeURIComponent(encodeURIComponent(fragment)));
1010
+ const encodedFragment = window.btoa(encodeURIComponent(fragment));
1011
1011
  return encodedFragment;
1012
1012
  };
1013
1013
  export const handleCopy = (event, editor) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "10.3.6",
3
+ "version": "10.3.7",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"