瀏覽代碼

add editor container class.

narro 6 年之前
父節點
當前提交
3497d151a1
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. 1
    1
      lib/components/Editor/index.js
  2. 1
    1
      lib/components/Editor/index.js.map
  3. 1
    1
      src/components/Editor/index.js

+ 1
- 1
lib/components/Editor/index.js 查看文件

272
       var inputValue = value || this.state.value;
272
       var inputValue = value || this.state.value;
273
       return _react2.default.createElement(
273
       return _react2.default.createElement(
274
         "div",
274
         "div",
275
-        null,
275
+        { className: "comment-editor-container" },
276
         _react2.default.createElement(
276
         _react2.default.createElement(
277
           "div",
277
           "div",
278
           {
278
           {

+ 1
- 1
lib/components/Editor/index.js.map
文件差異過大導致無法顯示
查看文件


+ 1
- 1
src/components/Editor/index.js 查看文件

173
       (!this.props.value && !this.state.value && !this.state.fileList.length);
173
       (!this.props.value && !this.state.value && !this.state.fileList.length);
174
     const inputValue = value || this.state.value;
174
     const inputValue = value || this.state.value;
175
     return (
175
     return (
176
-      <div>
176
+      <div className="comment-editor-container">
177
         <div
177
         <div
178
           className={classnames({
178
           className={classnames({
179
             "comment-editor-toolbar": true,
179
             "comment-editor-toolbar": true,