Feat: add appflowy editor in backend (#1320)

* chore: remove update attributes

* chore: format code

* chore: extension for transaction

* refactor: add document editor trait

* chore: add appflowy_document editor

* chore: add document serde

* chore: add new document editor

* chore: add tests

* chore: add more test

* chore: add test

Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
Nathan.fooo 2022-10-20 11:35:11 +08:00 committed by GitHub
parent 833a6cd95f
commit f1a5726fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
81 changed files with 2367 additions and 902 deletions

View file

@ -23,7 +23,7 @@ pub extern "C" fn init_sdk(path: *mut c_char) -> i64 {
let path: &str = c_str.to_str().unwrap();
let server_config = get_client_server_configuration().unwrap();
let config = FlowySDKConfig::new(path, server_config, "appflowy").log_filter("debug");
let config = FlowySDKConfig::new(path, "appflowy", server_config, false).log_filter("debug");
FLOWY_SDK.get_or_init(|| FlowySDK::new(config));
0