feat: make field initView and initModel more accessible (#7345)

* chore: update loop style to remove any type

* feat: make initView protected and initModel public

* feat: make image element in image field protected
This commit is contained in:
Maribeth Bottorff
2023-08-08 10:18:51 -07:00
committed by GitHub
parent 0ac86c7e68
commit a0b565724b
11 changed files with 5 additions and 26 deletions

View File

@@ -130,8 +130,6 @@ export class FieldVariable extends FieldDropdown {
* Initialize the model for this field if it has not already been initialized.
* If the value has not been set to a variable by the first render, we make up
* a variable rather than let the value be invalid.
*
* @internal
*/
override initModel() {
const block = this.getSourceBlock();