Skip to content

Commit

Permalink
Add disableEditingMenu prop to manage showing editing menu on iOS (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarol authored Mar 15, 2019
1 parent 3f234fa commit 3581b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ export class RichText extends Component {
fontSize={ this.props.fontSize }
fontWeight={ this.props.fontWeight }
fontStyle={ this.props.fontStyle }
disableEditingMenu={ this.props.disableEditingMenu }
/>
{ isSelected && <FormatEdit value={ record } onChange={ this.onFormatChange } /> }
</View>
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/post-title/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class PostTitle extends Component {
placeholder={ decodedPlaceholder }
value={ title }
onSplit={ this.props.onEnterPress }
disableEditingMenu={ true }
setRef={ ( ref ) => {
this.titleViewRef = ref;
} }
Expand Down

0 comments on commit 3581b0e

Please sign in to comment.