feat(core): Pass pattern to insertText hook
This commit is contained in:
parent
ff158b96a4
commit
8713993242
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ Svg.prototype.__insertText = function (text) {
|
||||||
text = hook.method(
|
text = hook.method(
|
||||||
this.pattern.settings[this.pattern.activeSet].locale || 'en',
|
this.pattern.settings[this.pattern.activeSet].locale || 'en',
|
||||||
text,
|
text,
|
||||||
hook.data
|
hook.data,
|
||||||
|
this.pattern
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue