We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac75f8 commit 0b8783eCopy full SHA for 0b8783e
src/RichTextEditor.js
@@ -231,17 +231,12 @@ export default class RichTextEditor extends Component {
231
injectedJavaScript={injectScript}
232
source={pageSource}
233
onLoad={() => this.init()}
234
- onShouldStartLoadWithRequest={(event) => {return this._onShouldStartLoadWithRequest(event)}}
235
/>
236
{this._renderLinkModal()}
237
</View>
238
);
239
}
240
241
- _onShouldStartLoadWithRequest(event) {
242
- return (event.url.indexOf('editor.html') != -1);
243
- }
244
-
245
escapeJSONString = function(string) {
246
return string
247
.replace(/[\\]/g, '\\\\')
0 commit comments