build: v1.1.3 release (^.^)YYa!!

This commit is contained in:
Michael Yang 2024-09-23 14:45:47 +08:00
parent d423963b96
commit cf972e5415
6 changed files with 1641 additions and 1550 deletions

View File

@ -1,5 +1,32 @@
# AiEditor ChangeLog
## v1.1.3 20240923:
- feat: add translate bubble menu items
- feat: add "pasteAsText" config support
- feat: add de and pt langs, thanks to @TobiasKrais
- feat: add Emoji config support
- fix: fix GiteeAiModel parse ai message error
- refactor: optimize AiEditor.ts and Header.ts
- refactor: optimize styles in Emoji.ts/Heading.ts/AbstractDropdownMenuButton.ts, thanks to @TobiasKrais
- refactor: optimize ai panel position
- chore: create npm-publish.yml
- chore: remove comment code
---
- 新增: 浮动菜单新增翻译功能,以及自定义翻译语言
- 新增: 新增 "pasteAsText" 配置的功能,在粘贴时自动清除样式
- 新增: 新增德语和葡萄牙语的配置,感谢 @TobiasKrais
- 新增: 新增 emoji 自定义配置的功能
- 修复: 修复 GiteeAiModel 在某些情况下解析错误的问题
- 优化: 优化 AiEditor.ts 及 Header.ts 代码
- 优化: 优化 Emoji.ts/Heading.ts/AbstractDropdownMenuButton.ts 的样式代码, @TobiasKrais
- 优化: 优化 文字选中以及 ai 弹出菜单的位置
- 优化: 创建 npm-publish.yml 用于自动发布的功能
- 优化: 上传部分注释代码
## v1.1.1 20240915:
- feat: Increase the indent to 2em instead of 10px
- feat: add FontSize defaultValue config

132
dist/index.cjs vendored

File diff suppressed because one or more lines are too long

1
dist/index.d.ts vendored
View File

@ -111,6 +111,7 @@ export declare type AiEditorOptions = {
toolbarKeys?: (string | CustomMenu | MenuGroup)[];
toolbarExcludeKeys?: DefaultToolbarKey[];
draggable?: boolean;
pasteAsText?: boolean;
codeBlock?: {
languages?: LanguageItem[];
codeExplainPrompt?: string;

3021
dist/index.js vendored

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "aieditor",
"version": "1.1.2",
"version": "1.1.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "aieditor",
"version": "1.1.2",
"version": "1.1.3",
"license": "LGPL",
"dependencies": {
"@tiptap/core": "^2.7.1",

View File

@ -1,7 +1,7 @@
{
"name": "aieditor",
"author": "yangfuhai",
"version": "1.1.2",
"version": "1.1.3",
"type": "module",
"keywords": [
"editor",