|
|
@ -11,7 +11,7 @@ const PreferencesSection: React.FC<Props> = () => {
|
|
|
|
const { globalState } = useContext(appContext);
|
|
|
|
const { globalState } = useContext(appContext);
|
|
|
|
const { useTinyUndoHistoryCache, shouldHideImageUrl, shouldSplitMemoWord, shouldUseMarkdownParser } = globalState;
|
|
|
|
const { useTinyUndoHistoryCache, shouldHideImageUrl, shouldSplitMemoWord, shouldUseMarkdownParser } = globalState;
|
|
|
|
|
|
|
|
|
|
|
|
const demoMemoContent = "👋 你好呀~\n我是一个demo:\n* 👏 欢迎使用memos;";
|
|
|
|
const demoMemoContent = "👋 你好呀~欢迎使用memos!\n* ✨ **开源项目**;\n* 😋 精美且细节的视觉样式;\n* 📑 体验优良的交互逻辑;";
|
|
|
|
|
|
|
|
|
|
|
|
const handleOpenTinyUndoChanged = () => {
|
|
|
|
const handleOpenTinyUndoChanged = () => {
|
|
|
|
globalStateService.setAppSetting({
|
|
|
|
globalStateService.setAppSetting({
|
|
|
|