mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix cursor move on double click in markdown editor bug
This commit is contained in:
parent
a3c195a543
commit
a944dcc6c7
1 changed files with 2 additions and 1 deletions
|
|
@ -1850,7 +1850,8 @@
|
|||
});
|
||||
|
||||
$scope.$on('doubleClickParagraph', function(event, paragraphId) {
|
||||
if ($scope.paragraph.id === paragraphId && editorSetting.editOnDblClick) {
|
||||
if ($scope.paragraph.id === paragraphId && $scope.paragraph.config.editorHide &&
|
||||
editorSetting.editOnDblClick) {
|
||||
var deferred = $q.defer();
|
||||
openEditorAndCloseTable();
|
||||
$timeout(
|
||||
|
|
|
|||
Loading…
Reference in a new issue