@@ -114,13 +114,13 @@ export default {
114
114
115
115
_wizardInsertText ( args = { } ) {
116
116
if ( args . fieldId === this . fieldId ) {
117
- this . _insertText ( args . text , args . options ) ;
117
+ this . insertText ( args . text , args . options ) ;
118
118
}
119
119
} ,
120
120
121
121
_wizardReplaceText ( args = { } ) {
122
122
if ( args . fieldId === this . fieldId ) {
123
- this . _replaceText ( args . oldVal , args . newVal , ( args . opts = { } ) ) ;
123
+ this . replaceText ( args . oldVal , args . newVal , ( args . opts = { } ) ) ;
124
124
}
125
125
} ,
126
126
@@ -139,7 +139,7 @@ export default {
139
139
let html = clipboard . getData ( "text/html" ) ;
140
140
let handled = false ;
141
141
142
- const { pre, lineVal } = this . _getSelected ( null , { lineVal : true } ) ;
142
+ const { pre, lineVal } = this . getSelected ( null , { lineVal : true } ) ;
143
143
const isInlinePasting = pre . match ( / [ ^ \n ] $ / ) ;
144
144
const isCodeBlock = isInside ( pre , / ( ^ | \n ) ` ` ` / g) ;
145
145
@@ -150,7 +150,7 @@ export default {
150
150
! isCodeBlock
151
151
) {
152
152
plainText = plainText . trim ( ) . replace ( / \r / g, "" ) ;
153
- const table = this . _extractTable ( plainText ) ;
153
+ const table = this . extractTable ( plainText ) ;
154
154
if ( table ) {
155
155
this . appEvents . trigger ( "wizard-editor:insert-text" , {
156
156
fieldId : this . fieldId ,
0 commit comments