mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: error happens when parsing readme content (#1873)
This commit is contained in:
parent
8a2f5fe789
commit
3fd4371d2c
@ -9,8 +9,8 @@ pub use document_serde::*;
|
||||
pub use editor::*;
|
||||
|
||||
#[inline]
|
||||
// Return the read me document content
|
||||
pub fn initial_read_me() -> String {
|
||||
let document_content = include_str!("READ_ME.json");
|
||||
let transaction = make_transaction_from_document_content(document_content).unwrap();
|
||||
transaction.to_json().unwrap()
|
||||
return document_content.to_string();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user