Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amitom committed Feb 7, 2017
1 parent 06e65ae commit a858a57
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/src/components/Docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export default class Demo2 extends Component {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{"'🎊', '🎁', '🎗', '🏀', '🏈', '🎲', '🔇', '🔈', '📣', '🔔', '🎵', '🎷',"}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{"'💰', '🖊', '📅', '✅', '❎', '💯'],"}<br />
&nbsp;&nbsp;{'}'}, <br />
&nbsp;&nbsp;image: {'{ icon: image, className: undefined, popClassName: undefined, uploadCallback: uploadCallback }'}, <br />
&nbsp;&nbsp;image: {'{ icon: image, className: undefined, popClassName: undefined, uploadCallback: uploadCallback, uploadOnly: false, noAlignmentPopup: false }'}, <br />
&nbsp;&nbsp;remove: {'{ icon: eraser, className: undefined }'}, <br />
&nbsp;&nbsp;history: {'{'} <br />
&nbsp;&nbsp;&nbsp;&nbsp;inDropdown: false, <br />
Expand Down Expand Up @@ -367,6 +367,24 @@ export default class Demo2 extends Component {
PLEASE NOTE: Property uploadCallback of editor component has been deprecated and will be removed in release 2.0. Its now recommended to pass uploadCallback inside toolbar property.
</div>
</div>
<div className="docs-section">
<div className="docs-label">
Image options
</div>
<div className="docs-sub-label">
uploadOnly
</div>
<div className="docs-desc">
If callback function uploadCallback is passed in toolbar configuration property and uploadOnly is set to true, image control shows only upload image option.
The callback should return a promise.
</div>
<div className="docs-sub-label">
noAlignmentPopup
</div>
<div className="docs-desc">
Disable alignment popup on image hovered.
</div>
</div>
<div className="docs-section">
<div className="docs-label">
Enabling mentions
Expand Down

0 comments on commit a858a57

Please sign in to comment.