@flozy/editor 10.9.1 → 10.9.2

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.
@@ -65,7 +65,9 @@ function SelectFontSize(props) {
65
65
  }
66
66
  };
67
67
  useEffect(() => {
68
- setSizeValue(getSizeVal());
68
+ if (value) {
69
+ setSizeValue(getSizeVal());
70
+ }
69
71
  }, [value]);
70
72
  const onChange = e => {
71
73
  clearTimeout(timerRef.current);
@@ -124,19 +124,25 @@ export const formStyle = [{
124
124
  key: "alignment",
125
125
  type: "alignment"
126
126
  }]
127
- }, {
128
- tab: "Background",
129
- value: "backgroundImage",
130
- fields: [{
131
- label: "URL",
132
- key: "backgroundImage",
133
- type: "text"
134
- }, {
135
- label: "Background Image",
136
- key: "backgroundImage",
137
- type: "backgroundImage"
138
- }]
139
- }, {
127
+ },
128
+ // Commented out because the background functionality for forms has not been implemented yet
129
+ // {
130
+ // tab: "Background",
131
+ // value: "backgroundImage",
132
+ // fields: [
133
+ // {
134
+ // label: "URL",
135
+ // key: "backgroundImage",
136
+ // type: "text",
137
+ // },
138
+ // {
139
+ // label: "Background Image",
140
+ // key: "backgroundImage",
141
+ // type: "backgroundImage",
142
+ // },
143
+ // ],
144
+ // },
145
+ {
140
146
  tab: "Add to Boards",
141
147
  value: "metadatamapping",
142
148
  fields: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "10.9.1",
3
+ "version": "10.9.2",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"