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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix fmt warnings
appflowyaf08c55ebf49
diff --git a/shared-lib/flowy-collaboration/src/document/extensions/insert/preserve_block_format.rs b/shared-lib/flowy-collaboration/src/document/extensions/insert/preserve_block_format.rsindex 6077b437f7..128223a558 100644--- a/shared-lib/flowy-collaboration/src/document/extensions/insert/preserve_block_format.rs+++ b/shared-lib/flowy-collaboration/src/document/extensions/insert/preserve_block_format.rs@@ -1,4 +1,4 @@-use crate::util::is_newline;+use crate::{document::InsertExt, util::is_newline};use lib_ot::{core::{DeltaBuilder, DeltaIter, NEW_LINE},rich_text::{@@ -10,7 +10,6 @@ use lib_ot::{RichTextDelta,},};-use crate::document::InsertExt;pub struct PreserveBlockFormatOnInsert {}impl InsertExt for PreserveBlockFormatOnInsert {diff --git a/shared-lib/flowy-collaboration/src/document/extensions/insert/reset_format_on_new_line.rs b/shared-lib/flowy-collaboration/src/document/extensions/insert/reset_format_on_new_line.rsindex 306d83e670..b1ccfd803f 100644--- a/shared-lib/flowy-collaboration/src/document/extensions/insert/reset_format_on_new_line.rs+++ b/shared-lib/flowy-collaboration/src/document/extensions/insert/reset_format_on_new_line.rs@@ -1,9 +1,8 @@-use crate::util::is_newline;+use crate::{document::InsertExt, util::is_newline};use lib_ot::{core::{CharMetric, DeltaBuilder, DeltaIter, NEW_LINE},rich_text::{RichTextAttributeKey, RichTextAttributes, RichTextDelta},};-use crate::document::InsertExt;pub struct ResetLineFormatOnNewLine {}impl InsertExt for ResetLineFormatOnNewLine {