@zohodesk/dot 1.0.0-temp-73 → 1.0.0-temp-74

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.
@@ -54,6 +54,7 @@ export default class TextEditor extends Component {
54
54
  needEditorFocus = true,
55
55
  handleDropUpload,
56
56
  fontFamily,
57
+ fontSize,
57
58
  initCallback,
58
59
  handleAlertMessage,
59
60
  needInlineAttachment
@@ -92,7 +93,7 @@ export default class TextEditor extends Component {
92
93
  }
93
94
 
94
95
  defaultObj = Object.assign(defaultObj, editorOptions);
95
- ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback);
96
+ ZohoDeskEditor_Init.init(editorMode, fontFamily, initCallback, fontSize);
96
97
  ZohoDeskEditor.create && ZohoDeskEditor.create(defaultObj);
97
98
  }
98
99
  }
@@ -405,6 +406,7 @@ TextEditor.defaultProps = {
405
406
  type: 'large',
406
407
  changeEditorContent: false,
407
408
  fontFamily: 'Lato',
409
+ fontSize: '16',
408
410
  shouldUpdateContent: true,
409
411
  i18nKeys: {},
410
412
  needInlineAttachment: false,
@@ -421,6 +423,7 @@ TextEditor.propTypes = {
421
423
  editorMode: PropTypes.string,
422
424
  editorOptions: PropTypes.object,
423
425
  fontFamily: PropTypes.oneOf(['Lato', 'Roboto', 'Puvi']),
426
+ fontSize: PropTypes.string,
424
427
  getRef: PropTypes.func,
425
428
  handleAlertMessage: PropTypes.func,
426
429
  handleDropUpload: PropTypes.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-73",
3
+ "version": "1.0.0-temp-74",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",