File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 452452 var originalRange = editor . getSelectionRange ( ) ;
453453 if ( editor . selection . isEmpty ( ) ) {
454454 var curpos = editor . getCursorPosition ( ) ;
455- editor . session . insert ( curpos , ' [](http ://) ' ) ;
455+ editor . session . insert ( curpos , ' [](https ://) ' ) ;
456456 editor . focus ( ) ;
457457 editor . selection . moveTo ( curpos . row , curpos . column + 2 ) ;
458458 } else {
459459 var range = editor . getSelectionRange ( ) ;
460460 var text = editor . session . getTextRange ( range ) ;
461- editor . session . replace ( range , '[' + text + '](http ://) ' ) ;
461+ editor . session . replace ( range , '[' + text + '](https ://) ' ) ;
462462 editor . focus ( ) ;
463463 editor . selection . moveTo (
464464 originalRange . end . row ,
473473 if ( typeof ( imageData ) === 'undefined' ) {
474474 if ( editor . selection . isEmpty ( ) ) {
475475 var curpos = editor . getCursorPosition ( ) ;
476- editor . session . insert ( curpos , '  ' ) ;
476+ editor . session . insert ( curpos , '  ' ) ;
477477 editor . focus ( ) ;
478478 editor . selection . moveTo ( curpos . row , curpos . column + 3 ) ;
479479 } else {
480480 var range = editor . getSelectionRange ( ) ;
481481 var text = editor . session . getTextRange ( range ) ;
482- editor . session . replace ( range , ' ' ) ;
482+ editor . session . replace ( range , ' ' ) ;
483483 editor . focus ( ) ;
484484 editor . selection . moveTo (
485485 originalRange . end . row ,
You can’t perform that action at this time.
0 commit comments