refactor: anchor annotation marks to clips and unify visibility edges
This commit is contained in:
parent
d54a6ae8f8
commit
4ae79b6422
9 changed files with 527 additions and 1759 deletions
|
|
@ -9,7 +9,7 @@ User = get_user_model()
|
|||
|
||||
|
||||
def ann(name, content="", **extra):
|
||||
return {"type": "annotation", "parent": "root", "name": name,
|
||||
return {"type": "annotation", "in": ["root"], "name": name,
|
||||
"content": content, "marks": [], **extra}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue