Passed
Push — master ( 7e3e50...4e9cd3 )
by Michael
02:46
created
action/editor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 
47 47
         /** @var Doku_Form $form */
48
-        $form =& $event->data;
48
+        $form = & $event->data;
49 49
         $useWYSIWYG = get_doku_pref('plugin_prosemirror_useWYSIWYG', false);
50 50
 
51 51
         $prosemirrorJSON = '';
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         }
83 83
 
84 84
         // output data and editor field
85
-        $form->addHidden('prosemirror_json',$prosemirrorJSON);
85
+        $form->addHidden('prosemirror_json', $prosemirrorJSON);
86 86
         $form->insertElement(1, '<div class="prosemirror_wrapper" id="prosemirror__editor"></div>');
87 87
     }
88 88
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             'id' => 'prosemirror-linkform',
108 108
             'style' => 'display: none;',
109 109
         ]);
110
-        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset');;
110
+        $linkForm->addFieldsetOpen('Links')->addClass('js-link-fieldset'); ;
111 111
         $iwOptions = array_keys(getInterwiki());
112 112
         $linkForm->addDropdown('iwshortcut', $iwOptions, 'InterWiki')->attr('required', 'required');
113 113
 
Please login to merge, or discard this patch.
action/ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
         if ($inner[0] === '#') {
126 126
             return dokuwiki\plugin\prosemirror\parser\LocalLinkNode::resolveLocalLink($inner, $curId);
127 127
         }
128
-       return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
128
+        return \dokuwiki\plugin\prosemirror\parser\InternalLinkNode::resolveLink($inner, $curId);
129 129
     }
130 130
 
131 131
     /**
Please login to merge, or discard this patch.
lang/en/lang.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 // $lang['menu'] = 'Your menu entry';
10 10
 
11 11
 // custom language strings for the plugin
12
- $lang['switch_editors'] = 'Toggle WYSIWYG editor';
13
- $lang['js']['code_block_hint'] = '
Please login to merge, or discard this patch.