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,8 +150,8 @@ var SimpleEditor = function SimpleEditor(props) {
150 150
       value: value,
151 151
       onChange: onChange,
152 152
       controls: [],
153
-      FloatControls: {
154
-        appendInnderBar: appendInnderBar
153
+      FloatControls: function FloatControls() {
154
+        return appendInnderBar;
155 155
       }
156 156
     }, injectBraftEditorProps)), React.createElement("div", {
157 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,8 +156,8 @@ var SimpleEditor = function SimpleEditor(props) {
156 156
       value: value,
157 157
       onChange: onChange,
158 158
       controls: [],
159
-      FloatControls: {
160
-        appendInnderBar: appendInnderBar
159
+      FloatControls: function FloatControls() {
160
+        return appendInnderBar;
161 161
       }
162 162
     }, injectBraftEditorProps)), React__default.createElement("div", {
163 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,7 +54,7 @@ const SimpleEditor = (props: SimpleEditorProps) => {
54 54
           value={value}
55 55
           onChange={onChange}
56 56
           controls={[]}
57
-          FloatControls={{appendInnderBar}}
57
+          FloatControls={() => appendInnderBar}
58 58
           {...injectBraftEditorProps}
59 59
         />
60 60
         <div style={toolBarContainerStyle}>

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