Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Merge pull request #608 from LucasXu0/feat/flowy_editor

Nathan.foooea23739df49c
diff --cc frontend/app_flowy/packages/flowy_editor/lib/document/node.dart
index fd93da0bdd,07c0c13ade..1e5200501f
--- a/frontend/app_flowy/packages/flowy_editor/lib/document/node.dart
+++ b/frontend/app_flowy/packages/flowy_editor/lib/document/node.dart
@@@ -1,9 -1,10 +1,10 @@@
import 'dart:collection';
import 'package:flowy_editor/document/path.dart';
+ import 'package:flutter/material.dart';
-typedef Attributes = Map<String, Object>;
+typedef Attributes = Map<String, dynamic>;
- class Node extends LinkedListEntry<Node> {
+ class Node extends ChangeNotifier with LinkedListEntry<Node> {
Node? parent;
final String type;
final LinkedList<Node> children;