2 Commits

Author SHA1 Message Date
  Roxas 04f36feeab dev: [SimpleEditor] add props: appendInnerBar and type both 4 years ago
  Roxas d3f48e8597 dev: [SimpleEditor] add props: appendInnerBar and type both 4 years ago

+ 2
- 2
eslib/Editor/index.js View File

150
       value: value,
150
       value: value,
151
       onChange: onChange,
151
       onChange: onChange,
152
       controls: [],
152
       controls: [],
153
-      FloatControls: {
154
-        appendInnderBar: appendInnderBar
153
+      FloatControls: function FloatControls() {
154
+        return appendInnderBar;
155
       }
155
       }
156
     }, injectBraftEditorProps)), React.createElement("div", {
156
     }, injectBraftEditorProps)), React.createElement("div", {
157
       style: toolBarContainerStyle
157
       style: toolBarContainerStyle

+ 1
- 1
eslib/Editor/index.js.map
File diff suppressed because it is too large
View File


+ 2
- 2
lib/Editor/index.js View File

156
       value: value,
156
       value: value,
157
       onChange: onChange,
157
       onChange: onChange,
158
       controls: [],
158
       controls: [],
159
-      FloatControls: {
160
-        appendInnderBar: appendInnderBar
159
+      FloatControls: function FloatControls() {
160
+        return appendInnderBar;
161
       }
161
       }
162
     }, injectBraftEditorProps)), React__default.createElement("div", {
162
     }, injectBraftEditorProps)), React__default.createElement("div", {
163
       style: toolBarContainerStyle
163
       style: toolBarContainerStyle

+ 1
- 1
lib/Editor/index.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
src/components/Editor/ImgTxtEditor/SimpleEditor.tsx View File

54
           value={value}
54
           value={value}
55
           onChange={onChange}
55
           onChange={onChange}
56
           controls={[]}
56
           controls={[]}
57
-          FloatControls={{appendInnderBar}}
57
+          FloatControls={() => appendInnderBar}
58
           {...injectBraftEditorProps}
58
           {...injectBraftEditorProps}
59
         />
59
         />
60
         <div style={toolBarContainerStyle}>
60
         <div style={toolBarContainerStyle}>

+ 1
- 1
stats.html
File diff suppressed because it is too large
View File