edited/modified example atribute supported

This commit is contained in:
2020-05-19 22:10:36 +02:00
parent 42aef17473
commit b24af95d5d
2 changed files with 9 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ class EditExampleText(Message):
def update_model(self, model):
example = self.get_arg(0, Example)
example.overwrite_with_copy()
example.edited = True
idx = 0
for txt in document.getElementsByClassName("example-component-text"):