-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable touch? #24
Comments
Have you tried placing a touchable view over the editor? |
You can add your own methods in
Then in 'const.js':
Add the following to your
Finally, add the methods in your 'RichTextEditor.js':
You can just call |
Can confirm this works. @ethanyuwang Thank you. I modified the functions slightly for my particular use case so that title editing is controlled too, e.g. zss_editor.disableContentEditing = function(html) {
$('#zss_editor_content').attr('contenteditable','false');
$('#zss_editor_title').attr('contenteditable','false');
}
zss_editor.enableContentEditing = function(html) {
$('#zss_editor_content').attr('contenteditable','true');
$('#zss_editor_title').attr('contenteditable','true');
} |
…croll Unable to scroll to end of editor after embedding multiple images
Hello.Sometimes I need to disable focus on the textinpunt . How to make it?
Best Regards
The text was updated successfully, but these errors were encountered: