Merge pull request #1271 from thechrisoshow/vue-3-ref
VueRenderer's ref is undefined when in production mode
This commit is contained in:
@@ -41,7 +41,7 @@ export class VueRenderer {
|
||||
}
|
||||
|
||||
get ref(): any {
|
||||
return this.editor.contentComponent?.ctx.$refs[this.id]
|
||||
return this.editor.contentComponent?.refs[this.id]
|
||||
}
|
||||
|
||||
updateProps(props: Record<string, any> = {}): void {
|
||||
|
||||
Reference in New Issue
Block a user