+ {isJsonType && (
+
{ document.activeElement?.blur(); this.setState({ wordWrap: !this.state.wordWrap, optionsMenuOpen: false }); }}
+ style={{ display: 'flex', alignItems: 'center', padding: '8px 12px', cursor: 'pointer', fontSize: '14px', color: '#333', gap: '8px' }}
+ onMouseEnter={e => e.currentTarget.style.background = '#f6f8fa'}
+ onMouseLeave={e => e.currentTarget.style.background = 'transparent'}
+ >
+ {this.state.wordWrap && }
+ Word wrap
+
+ )}
+ {isDiffableType && isExistingParam && (
+
{ document.activeElement?.blur(); this.setState({ showDiff: !this.state.showDiff, optionsMenuOpen: false }); }}
+ style={{ display: 'flex', alignItems: 'center', padding: '8px 12px', cursor: 'pointer', fontSize: '14px', color: '#333', gap: '8px' }}
+ onMouseEnter={e => e.currentTarget.style.background = '#f6f8fa'}
+ onMouseLeave={e => e.currentTarget.style.background = 'transparent'}
+ >
+ {this.state.showDiff && }
+ Diff view
+
+ )}
+
+