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 0b8783e commit 3bb2868Copy full SHA for 3bb2868
src/editor.html
@@ -851,6 +851,12 @@
851
}
852
853
854
+ function preventLinkFollowingOnTouch() {
855
+ $('#zss_editor_content').delegate('a', 'touchend', function(event) {
856
+ event.preventDefault();
857
+ });
858
+ }
859
+
860
zss_editor.init = function() {
861
862
disableLineBreakIfNecessary('zss_editor_title');
@@ -880,6 +886,8 @@
880
886
setupTouchEndFocus('zss_editor_title');
881
887
setupTouchEndFocus('zss_editor_content');
882
888
889
+ preventLinkFollowingOnTouch();
890
883
891
whenPastingInsertAsPlainText('zss_editor_title');
884
892
whenPastingInsertAsPlainText('zss_editor_content');
885
893
0 commit comments