@flozy/editor 4.3.3 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,7 +42,8 @@ const styles = theme => ({
42
42
  height: "100%"
43
43
  },
44
44
  TranscriptionContainer: {
45
- padding: "12px"
45
+ padding: "12px",
46
+ color: theme?.palette?.editor?.textColor
46
47
  }
47
48
  });
48
49
  export default styles;
@@ -84,6 +84,7 @@ const FontLoader = props => {
84
84
  });
85
85
  let families = Array.from(fontSet);
86
86
  families = correctFontArray(families.join(', '));
87
+ families = families.map(font => font.replace(/\"/g, ''));
87
88
  loadFontsInBatches(families);
88
89
  }
89
90
  }, []);
@@ -151,7 +151,7 @@ const RnD = props => {
151
151
  // to prevent auto scroll to top
152
152
  // when no editor.selection
153
153
  if (!editor.selection) {
154
- Transforms.select(editor, Editor.end(editor, []));
154
+ // Transforms.select(editor, Editor.end(editor, []));
155
155
  }
156
156
  switch (e.detail) {
157
157
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "4.3.3",
3
+ "version": "4.3.4",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"