From dddc6f28a1ff043da216ef697c8e29a03d31a76f Mon Sep 17 00:00:00 2001 From: yanmao <55792257+yanmao-cc@users.noreply.github.com> Date: Sun, 5 Dec 2021 00:37:05 +0800 Subject: [PATCH] feat: yanmao.cc -> aomao.com --- .umirc.ts | 8 ++++---- LICENSE | 2 +- README.md | 10 +++++----- README.zh-CN.md | 10 +++++----- docs/config/index.md | 4 ++-- docs/config/index.zh-CN.md | 4 ++-- docs/docs/concepts-node.md | 2 +- docs/docs/concepts-node.zh-CN.md | 2 +- docs/docs/contributing.md | 4 ++-- docs/docs/contributing.zh-CN.md | 4 ++-- docs/plugin/plugin-embed.md | 2 +- docs/plugin/plugin-embed.zh-CN.md | 2 +- docs/plugin/plugin-link.md | 4 ++-- docs/plugin/plugin-link.zh-CN.md | 4 ++-- docs/plugin/plugin-math.md | 6 +++--- docs/plugin/plugin-math.zh-CN.md | 6 +++--- examples/react/components/editor/config.tsx | 2 +- examples/react/config.ts | 2 +- examples/react/editor.tsx | 2 +- examples/vue/src/components/config.ts | 4 ++-- ot-server/package.json | 2 +- package.json | 2 +- packages/engine/README.md | 10 +++++----- packages/engine/package.json | 2 +- packages/toolbar-vue/package.json | 2 +- packages/toolbar/package.json | 2 +- plugins/alignment/package.json | 2 +- plugins/backcolor/package.json | 2 +- plugins/bold/package.json | 2 +- plugins/code/package.json | 2 +- plugins/codeblock-vue/package.json | 2 +- plugins/codeblock/package.json | 2 +- plugins/embed/README.md | 2 +- plugins/embed/package.json | 2 +- plugins/file/package.json | 2 +- plugins/fontcolor/package.json | 2 +- plugins/fontfamily/package.json | 2 +- plugins/fontsize/package.json | 2 +- plugins/heading/package.json | 2 +- plugins/hr/package.json | 2 +- plugins/image/package.json | 2 +- plugins/indent/package.json | 2 +- plugins/italic/package.json | 2 +- plugins/line-height/package.json | 2 +- plugins/link-vue/README.md | 4 ++-- plugins/link-vue/package.json | 2 +- plugins/link/README.md | 4 ++-- plugins/link/package.json | 2 +- plugins/mark-range/package.json | 2 +- plugins/mark/package.json | 2 +- plugins/math/README.md | 6 +++--- plugins/math/package.json | 2 +- plugins/mention/package.json | 2 +- plugins/mind/package.json | 2 +- plugins/orderedlist/package.json | 2 +- plugins/paintformat/package.json | 2 +- plugins/quote/package.json | 2 +- plugins/redo/package.json | 2 +- plugins/removeformat/package.json | 2 +- plugins/selectall/package.json | 2 +- plugins/status/package.json | 2 +- plugins/strikethrough/package.json | 2 +- plugins/sub/package.json | 2 +- plugins/sup/package.json | 2 +- plugins/table/package.json | 2 +- plugins/tasklist/package.json | 2 +- plugins/underline/package.json | 2 +- plugins/undo/package.json | 2 +- plugins/unorderedlist/package.json | 2 +- plugins/video/package.json | 2 +- site-ssr/config/config.default.js | 2 +- 71 files changed, 101 insertions(+), 101 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index b2dc4b5a..09836bfd 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -239,8 +239,8 @@ function getMenus(opts: { lang?: string; base: '/docs' | '/plugin' | '/api' }) { export default defineConfig({ title: 'AoMao Editor', - favicon: 'https://cdn-object.yanmao.cc/icon/shortcut.png', - logo: 'https://cdn-object.yanmao.cc/icon/icon.svg', + favicon: 'https://cdn-object.aomao.com/icon/shortcut.png', + logo: 'https://cdn-object.aomao.com/icon/icon.svg', outputPath: 'docs-dist', hash: true, mode: 'site', @@ -280,7 +280,7 @@ export default defineConfig({ }, { title: 'AoMao', - path: 'https://www.yanmao.cc', + path: 'https://www.aomao.com', }, { title: 'Github', @@ -314,7 +314,7 @@ export default defineConfig({ }, { title: 'AoMao', - path: 'https://www.yanmao.cc', + path: 'https://www.aomao.com', }, { title: 'Github', diff --git a/LICENSE b/LICENSE index fab7efe4..892ec45e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2021-present AoMao (me@yanmao.cc) +Copyright (c) 2021-present AoMao (me@aomao.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index febbdb75..8dd9255a 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@

中文 · - Demo · - Documentation · + Demo · + Documentation · Plugins · QQ-Group 907664876 ·

@@ -241,7 +241,7 @@ return ( ) ``` -For more complex toolbar configuration, please check the document [https://editor.yanmao.cc/config/toolbar](https://editor.yanmao.cc/config/toolbar) +For more complex toolbar configuration, please check the document [https://editor.aomao.com/config/toolbar](https://editor.aomao.com/config/toolbar) ### Collaborative editing @@ -325,11 +325,11 @@ Thanks [pleasedmi](https://github.com/pleasedmi)、[Elena211314](https://github. ### Alipay -![alipay](https://cdn-object.yanmao.cc/contribution/alipay.png?x-oss-process=image/resize,w_200) +![alipay](https://cdn-object.aomao.com/contribution/alipay.png?x-oss-process=image/resize,w_200) ### WeChat Pay -![wechat](https://cdn-object.yanmao.cc/contribution/weichat.png?x-oss-process=image/resize,w_200) +![wechat](https://cdn-object.aomao.com/contribution/weichat.png?x-oss-process=image/resize,w_200) ### PayPal diff --git a/README.zh-CN.md b/README.zh-CN.md index a119855c..49da5cee 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -6,8 +6,8 @@

English · - Demo · - 文档 · + Demo · + 文档 · 插件 · QQ群 907664876 ·

@@ -243,7 +243,7 @@ return ( ) ``` -更复杂的工具栏配置请查看文档 [https://editor.yanmao.cc/zh-CN/config/toolbar](https://editor.yanmao.cc/zh-CN/config/toolbar) +更复杂的工具栏配置请查看文档 [https://editor.aomao.com/zh-CN/config/toolbar](https://editor.aomao.com/zh-CN/config/toolbar) ### 协同编辑 @@ -329,11 +329,11 @@ yarn serve ### 支付宝 -![alipay](https://cdn-object.yanmao.cc/contribution/alipay.png?x-oss-process=image/resize,w_200) +![alipay](https://cdn-object.aomao.com/contribution/alipay.png?x-oss-process=image/resize,w_200) ### 微信支付 -![wechat](https://cdn-object.yanmao.cc/contribution/weichat.png?x-oss-process=image/resize,w_200) +![wechat](https://cdn-object.aomao.com/contribution/weichat.png?x-oss-process=image/resize,w_200) ### PayPal diff --git a/docs/config/index.md b/docs/config/index.md index cec32408..1be25467 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -110,9 +110,9 @@ Some plugins require the configuration of additional properties: [VideoUploader.pluginName]: { action: `${DOMAIN}/upload/video`, }, -// Mathematical formula generation address, the project is at: https://drawing.yanmao.cc +// Mathematical formula generation address, the project is at: https://drawing.aomao.com [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if (res.success) return {result: true, data: res.svg }; return {result: false }; diff --git a/docs/config/index.zh-CN.md b/docs/config/index.zh-CN.md index d6b65274..ced97fd9 100644 --- a/docs/config/index.zh-CN.md +++ b/docs/config/index.zh-CN.md @@ -110,9 +110,9 @@ console.log(view.language.get('test')); [VideoUploader.pluginName]: { action: `${DOMAIN}/upload/video`, }, -// 数学公式生成地址,项目在:https://drawing.yanmao.cc +// 数学公式生成地址,项目在:https://drawing.aomao.com [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if (res.success) return { result: true, data: res.svg }; return { result: false }; diff --git a/docs/docs/concepts-node.md b/docs/docs/concepts-node.md index e51717fe..9adf2485 100644 --- a/docs/docs/concepts-node.md +++ b/docs/docs/concepts-node.md @@ -48,7 +48,7 @@ Inline nodes have all the characteristics of style nodes, but inline nodes canno ```html

- This is a link + This is a link

``` diff --git a/docs/docs/concepts-node.zh-CN.md b/docs/docs/concepts-node.zh-CN.md index 60114382..a75495a8 100644 --- a/docs/docs/concepts-node.zh-CN.md +++ b/docs/docs/concepts-node.zh-CN.md @@ -48,7 +48,7 @@ DOM 节点在编辑器中是最重要的对象,编辑器数据结构就是一 ```html

- This is a link + This is a link

``` diff --git a/docs/docs/contributing.md b/docs/docs/contributing.md index 51747e17..2a731333 100644 --- a/docs/docs/contributing.md +++ b/docs/docs/contributing.md @@ -66,11 +66,11 @@ am-editor uses [dumi](https://d.umijs.org/) as a document site tool, ### Alipay -![alipay](https://cdn-object.yanmao.cc/contribution/alipay.png?x-oss-process=image/resize,w_200) +![alipay](https://cdn-object.aomao.com/contribution/alipay.png?x-oss-process=image/resize,w_200) ### WeChat Pay -![wechat](https://cdn-object.yanmao.cc/contribution/weichat.png?x-oss-process=image/resize,w_200) +![wechat](https://cdn-object.aomao.com/contribution/weichat.png?x-oss-process=image/resize,w_200) ### PayPal diff --git a/docs/docs/contributing.zh-CN.md b/docs/docs/contributing.zh-CN.md index 2467dd87..e4a96097 100644 --- a/docs/docs/contributing.zh-CN.md +++ b/docs/docs/contributing.zh-CN.md @@ -66,11 +66,11 @@ am-editor 使用 [dumi](https://d.umijs.org/) 作为文档站点工具, ### 支付宝 -![alipay](https://cdn-object.yanmao.cc/contribution/alipay.png?x-oss-process=image/resize,w_200) +![alipay](https://cdn-object.aomao.com/contribution/alipay.png?x-oss-process=image/resize,w_200) ### 微信支付 -![wechat](https://cdn-object.yanmao.cc/contribution/weichat.png?x-oss-process=image/resize,w_200) +![wechat](https://cdn-object.aomao.com/contribution/weichat.png?x-oss-process=image/resize,w_200) ### PayPal diff --git a/docs/plugin/plugin-embed.md b/docs/plugin/plugin-embed.md index a2eb2a7c..832633cd 100644 --- a/docs/plugin/plugin-embed.md +++ b/docs/plugin/plugin-embed.md @@ -60,7 +60,7 @@ Parameter 5: Whether the size can be changed, the default is true ```ts engine.command.execute( Math.pluginName, - 'https://editor.yanmao.cc', // optional + 'https://editor.aomao.com', // optional 'ico icon', 'Display title', false, diff --git a/docs/plugin/plugin-embed.zh-CN.md b/docs/plugin/plugin-embed.zh-CN.md index 2b7994a3..0bf19918 100644 --- a/docs/plugin/plugin-embed.zh-CN.md +++ b/docs/plugin/plugin-embed.zh-CN.md @@ -60,7 +60,7 @@ renderBefore?:(url: string) => {url?: string ```ts engine.command.execute( Math.pluginName, - 'https://editor.yanmao.cc', // 可选 + 'https://editor.aomao.com', // 可选 'ico 图标', '展示的标题', false, diff --git a/docs/plugin/plugin-link.md b/docs/plugin/plugin-link.md index 6db0da85..46de4771 100644 --- a/docs/plugin/plugin-link.md +++ b/docs/plugin/plugin-link.md @@ -46,7 +46,7 @@ new Engine(...,{ //Modify shortcut keys hotkey:{ key:"mod+k", - args:["_balnk_","https://www.yanmao.cc","ITELLYOU"] + args:["_balnk_","https://www.aomao.com","ITELLYOU"] } } } @@ -91,7 +91,7 @@ Three parameters can be passed in [target?:string,href?:string,text?:string] Ope ```ts //target:'_blank','_parent','_top','_self', href: link, text: text -engine.command.execute('link', '_blank', 'https://www.yanmao.cc', 'ITELLYOU'); +engine.command.execute('link', '_blank', 'https://www.aomao.com', 'ITELLYOU'); //Use command to execute query current status, return boolean | undefined engine.command.queryState('link'); ``` diff --git a/docs/plugin/plugin-link.zh-CN.md b/docs/plugin/plugin-link.zh-CN.md index 2543fbc3..431465c0 100644 --- a/docs/plugin/plugin-link.zh-CN.md +++ b/docs/plugin/plugin-link.zh-CN.md @@ -46,7 +46,7 @@ new Engine(...,{ //修改快捷键 hotkey:{ key:"mod+k", - args:["_balnk_","https://www.yanmao.cc","ITELLYOU"] + args:["_balnk_","https://www.aomao.com","ITELLYOU"] } } } @@ -91,7 +91,7 @@ onConfirm?: ( ```ts //target:'_blank', '_parent', '_top', '_self',href:链接,text:文字 -engine.command.execute('link', '_blank', 'https://www.yanmao.cc', 'ITELLYOU'); +engine.command.execute('link', '_blank', 'https://www.aomao.com', 'ITELLYOU'); //使用 command 执行查询当前状态,返回 boolean | undefined engine.command.queryState('link'); ``` diff --git a/docs/plugin/plugin-math.md b/docs/plugin/plugin-math.md index 0285d04b..79a25d08 100644 --- a/docs/plugin/plugin-math.md +++ b/docs/plugin/plugin-math.md @@ -83,15 +83,15 @@ parse?: ( ### Drawing interface -You can use the `https://g.yanmao.cc/latex` address to generate the `SVG` code corresponding to the formula. This project uses [mathjax](https://www.mathjax.org/) to generate `SVG` code +You can use the `https://g.aomao.com/latex` address to generate the `SVG` code corresponding to the formula. This project uses [mathjax](https://www.mathjax.org/) to generate `SVG` code -Demo site: [https://drawing.yanmao.cc/](https://drawing.yanmao.cc/) +Demo site: [https://drawing.aomao.com/](https://drawing.aomao.com/) Configuration: ```ts [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if(res.success) return {result: true, data: res.svg} return {result: false} diff --git a/docs/plugin/plugin-math.zh-CN.md b/docs/plugin/plugin-math.zh-CN.md index 78efd6d4..95464b47 100644 --- a/docs/plugin/plugin-math.zh-CN.md +++ b/docs/plugin/plugin-math.zh-CN.md @@ -83,15 +83,15 @@ parse?: ( ### 画图接口 -可以使用 `https://g.yanmao.cc/latex` 地址生成公式对应的 `SVG` 代码。该项目使用[mathjax](https://www.mathjax.org/) 生成 `SVG` 代码 +可以使用 `https://g.aomao.com/latex` 地址生成公式对应的 `SVG` 代码。该项目使用[mathjax](https://www.mathjax.org/) 生成 `SVG` 代码 -演示站点:[https://drawing.yanmao.cc/](https://drawing.yanmao.cc/) +演示站点:[https://drawing.aomao.com/](https://drawing.aomao.com/) 配置: ```ts [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if(res.success) return { result: true, data: res.svg} return { result: false} diff --git a/examples/react/components/editor/config.tsx b/examples/react/components/editor/config.tsx index 2efb4894..62cde96f 100644 --- a/examples/react/components/editor/config.tsx +++ b/examples/react/components/editor/config.tsx @@ -157,7 +157,7 @@ export const pluginConfig: { [key: string]: PluginOptions } = { }, }, [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if (res.success) return { result: true, data: res.svg }; return { result: false }; diff --git a/examples/react/config.ts b/examples/react/config.ts index 21f3cdbb..ec1d0075 100644 --- a/examples/react/config.ts +++ b/examples/react/config.ts @@ -5,7 +5,7 @@ export const DOMAIN = IS_DEV ? `http://${ typeof window !== 'undefined' ? 'localhost:7001' : 'localhost:7001' }` - : 'https://editor.yanmao.cc'; + : 'https://editor.aomao.com'; export const lang = ( !isServer ? window.location.href.indexOf('zh-CN') > 0 : false diff --git a/examples/react/editor.tsx b/examples/react/editor.tsx index 9f11848f..71bc1271 100644 --- a/examples/react/editor.tsx +++ b/examples/react/editor.tsx @@ -22,7 +22,7 @@ const getMember = () => { const wsUrl = IS_DEV && !isServer ? `ws://${window.location.hostname}:8080` - : 'wss://collab.yanmao.cc'; + : 'wss://collab.aomao.com'; const member = getMember(); const getReadonlyValue = diff --git a/examples/vue/src/components/config.ts b/examples/vue/src/components/config.ts index b8232538..dd2a73a4 100644 --- a/examples/vue/src/components/config.ts +++ b/examples/vue/src/components/config.ts @@ -52,7 +52,7 @@ import { createApp } from 'vue'; import Loading from './loading.vue'; import MentionPopover from './mention.vue'; -const DOMAIN = 'https://editor.yanmao.cc/api'; +const DOMAIN = 'https://editor.aomao.com/api'; export const plugins: Array = [ Redo, @@ -144,7 +144,7 @@ export const pluginConfig: { [key: string]: PluginOptions } = { }, }, [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if (res.success) return { result: true, data: res.svg }; return { result: false }; diff --git a/ot-server/package.json b/ot-server/package.json index 6529662d..e34fd62a 100755 --- a/ot-server/package.json +++ b/ot-server/package.json @@ -25,6 +25,6 @@ "type": "git", "url": "" }, - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT" } diff --git a/package.json b/package.json index 01d62b28..0bf8bb2e 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "main": "dist/index.js", "module": "dist/index.esm.js", "typings": "dist/index.d.ts", - "author": "me@yanmao.cc", + "author": "me@aomao.com", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { "type": "git", diff --git a/packages/engine/README.md b/packages/engine/README.md index 492885d0..5c3b92a6 100644 --- a/packages/engine/README.md +++ b/packages/engine/README.md @@ -6,8 +6,8 @@

English · - Demo · - 文档 · + Demo · + 文档 · 插件 · QQ群 907664876 ·

@@ -235,7 +235,7 @@ return ( ) ``` -更复杂的工具栏配置请查看文档 [https://editor.yanmao.cc/zh-CN/config/toolbar](https://editor.yanmao.cc/zh-CN/config/toolbar) +更复杂的工具栏配置请查看文档 [https://editor.aomao.com/zh-CN/config/toolbar](https://editor.aomao.com/zh-CN/config/toolbar) ### 协同编辑 @@ -321,11 +321,11 @@ yarn serve ### 支付宝 -![alipay](https://cdn-object.yanmao.cc/contribution/alipay.png?x-oss-process=image/resize,w_200) +![alipay](https://cdn-object.aomao.com/contribution/alipay.png?x-oss-process=image/resize,w_200) ### 微信支付 -![wechat](https://cdn-object.yanmao.cc/contribution/weichat.png?x-oss-process=image/resize,w_200) +![wechat](https://cdn-object.aomao.com/contribution/weichat.png?x-oss-process=image/resize,w_200) ### PayPal diff --git a/packages/engine/package.json b/packages/engine/package.json index 0f6bd74f..4a5a1258 100644 --- a/packages/engine/package.json +++ b/packages/engine/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/packages/toolbar-vue/package.json b/packages/toolbar-vue/package.json index 5a020ff3..035459c8 100644 --- a/packages/toolbar-vue/package.json +++ b/packages/toolbar-vue/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/packages/toolbar/package.json b/packages/toolbar/package.json index 88e68541..cbe77805 100644 --- a/packages/toolbar/package.json +++ b/packages/toolbar/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/alignment/package.json b/plugins/alignment/package.json index 79ae05f8..70df15cf 100644 --- a/plugins/alignment/package.json +++ b/plugins/alignment/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/backcolor/package.json b/plugins/backcolor/package.json index 39134f2e..13dbe92c 100644 --- a/plugins/backcolor/package.json +++ b/plugins/backcolor/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/bold/package.json b/plugins/bold/package.json index 321711c3..86cf1d1d 100644 --- a/plugins/bold/package.json +++ b/plugins/bold/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/code/package.json b/plugins/code/package.json index 1160442a..6399cfde 100644 --- a/plugins/code/package.json +++ b/plugins/code/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/codeblock-vue/package.json b/plugins/codeblock-vue/package.json index b7028d9f..bd792437 100644 --- a/plugins/codeblock-vue/package.json +++ b/plugins/codeblock-vue/package.json @@ -14,7 +14,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/codeblock/package.json b/plugins/codeblock/package.json index bf998f8b..93fb9259 100644 --- a/plugins/codeblock/package.json +++ b/plugins/codeblock/package.json @@ -14,7 +14,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/embed/README.md b/plugins/embed/README.md index 2b7994a3..0bf19918 100644 --- a/plugins/embed/README.md +++ b/plugins/embed/README.md @@ -60,7 +60,7 @@ renderBefore?:(url: string) => {url?: string ```ts engine.command.execute( Math.pluginName, - 'https://editor.yanmao.cc', // 可选 + 'https://editor.aomao.com', // 可选 'ico 图标', '展示的标题', false, diff --git a/plugins/embed/package.json b/plugins/embed/package.json index 58116926..e8e8ca62 100644 --- a/plugins/embed/package.json +++ b/plugins/embed/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/file/package.json b/plugins/file/package.json index 336150fe..5259a94b 100644 --- a/plugins/file/package.json +++ b/plugins/file/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/fontcolor/package.json b/plugins/fontcolor/package.json index 7cc6d379..097f5245 100644 --- a/plugins/fontcolor/package.json +++ b/plugins/fontcolor/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/fontfamily/package.json b/plugins/fontfamily/package.json index 2dc240d3..2a0dbf09 100644 --- a/plugins/fontfamily/package.json +++ b/plugins/fontfamily/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/fontsize/package.json b/plugins/fontsize/package.json index e3cf9d02..06aaa4b9 100644 --- a/plugins/fontsize/package.json +++ b/plugins/fontsize/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/heading/package.json b/plugins/heading/package.json index 64457ed5..9066f798 100644 --- a/plugins/heading/package.json +++ b/plugins/heading/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/hr/package.json b/plugins/hr/package.json index 52673912..f7278e3f 100644 --- a/plugins/hr/package.json +++ b/plugins/hr/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/image/package.json b/plugins/image/package.json index da299b60..62b3fd05 100644 --- a/plugins/image/package.json +++ b/plugins/image/package.json @@ -10,7 +10,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/indent/package.json b/plugins/indent/package.json index 473871e4..7dde5c9b 100644 --- a/plugins/indent/package.json +++ b/plugins/indent/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/italic/package.json b/plugins/italic/package.json index 6eea85b4..7cb99bc7 100644 --- a/plugins/italic/package.json +++ b/plugins/italic/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/line-height/package.json b/plugins/line-height/package.json index 68285c4b..9b4379db 100644 --- a/plugins/line-height/package.json +++ b/plugins/line-height/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/link-vue/README.md b/plugins/link-vue/README.md index 1e4e9214..3e879d4d 100644 --- a/plugins/link-vue/README.md +++ b/plugins/link-vue/README.md @@ -34,7 +34,7 @@ new Engine(...,{ //修改快捷键 hotkey:{ key:"mod+k", - args:["_balnk_","https://www.yanmao.cc","ITELLYOU"] + args:["_balnk_","https://www.aomao.com","ITELLYOU"] } } } @@ -66,7 +66,7 @@ new Engine(...,{ ```ts //target:'_blank', '_parent', '_top', '_self',href:链接,text:文字 -engine.command.execute('link', '_blank', 'https://www.yanmao.cc', 'ITELLYOU'); +engine.command.execute('link', '_blank', 'https://www.aomao.com', 'ITELLYOU'); //使用 command 执行查询当前状态,返回 boolean | undefined engine.command.queryState('link'); ``` diff --git a/plugins/link-vue/package.json b/plugins/link-vue/package.json index 72658b89..02f15012 100644 --- a/plugins/link-vue/package.json +++ b/plugins/link-vue/package.json @@ -10,7 +10,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/link/README.md b/plugins/link/README.md index 14d018e9..ca803269 100644 --- a/plugins/link/README.md +++ b/plugins/link/README.md @@ -40,7 +40,7 @@ new Engine(...,{ //修改快捷键 hotkey:{ key:"mod+k", - args:["_balnk_","https://www.yanmao.cc","ITELLYOU"] + args:["_balnk_","https://www.aomao.com","ITELLYOU"] } } } @@ -72,7 +72,7 @@ new Engine(...,{ ```ts //target:'_blank', '_parent', '_top', '_self',href:链接,text:文字 -engine.command.execute('link', '_blank', 'https://www.yanmao.cc', 'ITELLYOU'); +engine.command.execute('link', '_blank', 'https://www.aomao.com', 'ITELLYOU'); //使用 command 执行查询当前状态,返回 boolean | undefined engine.command.queryState('link'); ``` diff --git a/plugins/link/package.json b/plugins/link/package.json index fe1503a2..95f13129 100644 --- a/plugins/link/package.json +++ b/plugins/link/package.json @@ -10,7 +10,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/mark-range/package.json b/plugins/mark-range/package.json index d1e58af8..9c85d5a4 100644 --- a/plugins/mark-range/package.json +++ b/plugins/mark-range/package.json @@ -13,7 +13,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/mark/package.json b/plugins/mark/package.json index 821d97f3..9e1117d5 100644 --- a/plugins/mark/package.json +++ b/plugins/mark/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/math/README.md b/plugins/math/README.md index 78efd6d4..95464b47 100644 --- a/plugins/math/README.md +++ b/plugins/math/README.md @@ -83,15 +83,15 @@ parse?: ( ### 画图接口 -可以使用 `https://g.yanmao.cc/latex` 地址生成公式对应的 `SVG` 代码。该项目使用[mathjax](https://www.mathjax.org/) 生成 `SVG` 代码 +可以使用 `https://g.aomao.com/latex` 地址生成公式对应的 `SVG` 代码。该项目使用[mathjax](https://www.mathjax.org/) 生成 `SVG` 代码 -演示站点:[https://drawing.yanmao.cc/](https://drawing.yanmao.cc/) +演示站点:[https://drawing.aomao.com/](https://drawing.aomao.com/) 配置: ```ts [Math.pluginName]: { - action: `https://g.yanmao.cc/latex`, + action: `https://g.aomao.com/latex`, parse: (res: any) => { if(res.success) return { result: true, data: res.svg} return { result: false} diff --git a/plugins/math/package.json b/plugins/math/package.json index 54bf9aac..b7e9c3fb 100644 --- a/plugins/math/package.json +++ b/plugins/math/package.json @@ -5,7 +5,7 @@ "keywords": [ "Math" ], - "author": "ITELLYOU ", + "author": "ITELLYOU ", "homepage": "https://github.com/yanmao-cc/am-editor/tree/main/plugins/plugin-math#readme", "main": "dist/index.ts", "module": "dist/index.esm.js", diff --git a/plugins/mention/package.json b/plugins/mention/package.json index 83bf0abf..2917cfa0 100644 --- a/plugins/mention/package.json +++ b/plugins/mention/package.json @@ -13,7 +13,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/mind/package.json b/plugins/mind/package.json index b28580e9..53274ff6 100644 --- a/plugins/mind/package.json +++ b/plugins/mind/package.json @@ -6,7 +6,7 @@ "Mind", "脑图" ], - "author": "ITELLYOU ", + "author": "ITELLYOU ", "homepage": "https://github.com/yanmao-cc/am-editor/tree/main/plugins/plugin-mind#readme", "main": "dist/index.ts", "module": "dist/index.esm.js", diff --git a/plugins/orderedlist/package.json b/plugins/orderedlist/package.json index 91fb7694..be79694b 100644 --- a/plugins/orderedlist/package.json +++ b/plugins/orderedlist/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/paintformat/package.json b/plugins/paintformat/package.json index 45e72c5d..29cded4f 100644 --- a/plugins/paintformat/package.json +++ b/plugins/paintformat/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/quote/package.json b/plugins/quote/package.json index 52c4c338..5f23856a 100644 --- a/plugins/quote/package.json +++ b/plugins/quote/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/redo/package.json b/plugins/redo/package.json index a2a5dba2..254dde00 100644 --- a/plugins/redo/package.json +++ b/plugins/redo/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/removeformat/package.json b/plugins/removeformat/package.json index 9533ed52..524b7e0a 100644 --- a/plugins/removeformat/package.json +++ b/plugins/removeformat/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/selectall/package.json b/plugins/selectall/package.json index f7568c7b..2a14d660 100644 --- a/plugins/selectall/package.json +++ b/plugins/selectall/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/status/package.json b/plugins/status/package.json index d8b72dbb..900e8837 100644 --- a/plugins/status/package.json +++ b/plugins/status/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/strikethrough/package.json b/plugins/strikethrough/package.json index 81a727fa..d214cd32 100644 --- a/plugins/strikethrough/package.json +++ b/plugins/strikethrough/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/sub/package.json b/plugins/sub/package.json index 18621830..59249cda 100644 --- a/plugins/sub/package.json +++ b/plugins/sub/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/sup/package.json b/plugins/sup/package.json index 1d906cbc..5c3685f1 100644 --- a/plugins/sup/package.json +++ b/plugins/sup/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/table/package.json b/plugins/table/package.json index 87ad0941..24161294 100644 --- a/plugins/table/package.json +++ b/plugins/table/package.json @@ -2,7 +2,7 @@ "name": "@aomao/plugin-table", "version": "2.6.15", "description": "table plugin", - "author": "AoMao ", + "author": "AoMao ", "homepage": "https://github.com/yanmao-cc/am-editor/tree/master/plugins/plugin-table#readme", "license": "MIT", "main": "dist/index.ts", diff --git a/plugins/tasklist/package.json b/plugins/tasklist/package.json index c12499e9..6973a67f 100644 --- a/plugins/tasklist/package.json +++ b/plugins/tasklist/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/underline/package.json b/plugins/underline/package.json index e0d2d866..70b73cbe 100644 --- a/plugins/underline/package.json +++ b/plugins/underline/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/undo/package.json b/plugins/undo/package.json index d38ea525..8e7bcbeb 100644 --- a/plugins/undo/package.json +++ b/plugins/undo/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/unorderedlist/package.json b/plugins/unorderedlist/package.json index 8c0e1f9c..4d89b447 100644 --- a/plugins/unorderedlist/package.json +++ b/plugins/unorderedlist/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/plugins/video/package.json b/plugins/video/package.json index c0dbef50..702b5f73 100644 --- a/plugins/video/package.json +++ b/plugins/video/package.json @@ -9,7 +9,7 @@ "lib", "src" ], - "author": "me@yanmao.cc", + "author": "me@aomao.com", "license": "MIT", "homepage": "https://github.com/yanmao-cc/am-editor#readme", "repository": { diff --git a/site-ssr/config/config.default.js b/site-ssr/config/config.default.js index 62cdde12..8942a38e 100755 --- a/site-ssr/config/config.default.js +++ b/site-ssr/config/config.default.js @@ -6,7 +6,7 @@ module.exports = (appInfo, appConfig = {}) => { // use for cookie sign key, should change to your own and keep security config.keys = appInfo.name + '_1513765449219_5858'; - config.domain = 'https://editor.yanmao.cc'; + config.domain = 'https://editor.aomao.com'; config.umiServerPath = '../public/umi.server'; // add your config here config.middleware = [];