Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Re-Factor MarkText with electron-vite#4001

Open
Tkaixiang wants to merge 410 commits intomarktext:developfrom
Tkaixiang:trunk
Open

Re-Factor MarkText with electron-vite#4001
Tkaixiang wants to merge 410 commits intomarktext:developfrom
Tkaixiang:trunk

Conversation

@Tkaixiang
Copy link

QA
Bug fix?yes
New feature?yes
Breaking changes?yes
Deprecations?yes
New tests added?N/A
Fixed ticketsN/A
LicenseMIT

Description

  • This is an attempt at a complete "re-factor" of MarkText by introducing a new development environment (electron-vite) to modernise the development process
    • Bundle size is 100MB smaller
  • Pretty much all libraries have been bumped up to their modern versions, with respective API changes
    • Most notable is moving away from Vue2 to Vue3 with the Composition API
  • Based offJacob Whall's fork which already includes quite a number of bug fixes
  • Also includesUpdate keybindingsWindows.js - set binding to file.print #3859
  • Also includes some of my own QoL improvements
    • Better handling of bullet points when repeatedly pressing enter (now more in-line with what you will expect from popular text editors)
    • Tab switching now restores your scroll position to where you left of, instead of jumping to your cursor
      • Opening a file now lands you at the start rather than the end

luiseok, yodatak, and kyle-ingka reacted with thumbs up emojiTheoLeeCJ, jacobwhall, yodatak, and Jocs reacted with hooray emoji
Tkaixiangand others added29 commitsAugust 19, 2025 16:30
- 修改 preference.vue 中的 showCustomTitleBar 计算属性- 移除 macOS 系统的限制条件,让 macOS 也显示自定义标题栏- 确保 macOS 用户可以通过右上角关闭按钮关闭偏好设置窗口
- 创建共享翻译模块支持主进程和渲染进程- 修改主进程菜单和上下文菜单使用翻译函数- 更新Vue组件集成翻译系统- 添加英文和中文翻译文件- 修复构建和运行时的导入路径问题
- 在主进程和渲染进程中集成共享翻译系统- 修改菜单模板和上下文菜单使用翻译函数- 更新构建配置以复制翻译文件到输出目录- 完善中文翻译文件结构,与英文版本保持一致- 移除硬编码文本,实现国际化支持
- 修复所有配置文件中的模块顶层t()函数调用问题- 完善偏好设置中的语言切换功能,支持英文和简体中文- 更新翻译文件,添加语言选项的完整翻译- 启用语言选择器,用户可在偏好设置中切换语言- 优化i18n初始化逻辑,确保翻译功能正常工作
- 补充 zh-CN.json 中 commands 命名空间下的所有翻译键- 补充 en.json 中 commands 命名空间下的所有翻译键- 解决 descriptions.js 中翻译键显示问题- 确保中英文翻译文件的完整性和一致性
- 修复菜单栏语言切换实时更新功能- 实现系统语言自动检测和默认语言回退逻辑- 修复快捷键描述翻译问题- 完成exportSettings组件国际化- 将vue-i18n添加到依赖中- 修复Linux版本图标问题- 创建icons目录并配置构建文件- 成功构建所有平台版本(macOS/Windows/Linux)
- 更新语言选项配置支持全部9种语言(en, zh-CN, zh-TW, es, fr, de, ja, ko, pt)- 为所有语言文件添加完整的语言选项翻译- 测试验证多语言切换功能正常工作
- 移除页面上误导用户的 brew install picgo 安装命令- 修复渲染进程中翻译显示键名的问题,改为直接导入JSON翻译文件- 确保生产环境中翻译功能正常工作
- 在所有语言翻译文件中添加缺失的命令面板翻译键- 修复命令文件中的i18n导入路径错误- 确保命令面板中的所有命令都能正确显示翻译文本
- 修复主进程和渲染进程语言设置不一致问题- 程序初始化时使用系统语言,不支持时回退到英语- 修复i18nCSS类翻译函数传递问题- 修复frontMenu等UI组件的翻译显示- 添加语言变化事件监听机制
- Swapped default copy method to copyAsMarkdown and instead provide a copy as rich text option
Updated MacOS release note to reflect new warning message and provided commands for users.
Updated instructions for MacOS users regarding notarization.
…o an invalid block which does not exist, causing a crash when switching tabs. Still not too sure why the cursor is like that in the 1st place
…icate watchers to be attached. This led to the watchers detecting the file was modified by "another process", and when reloading, causes a loss of state.Modified to prevent this and switch to that tab when you open a file that is already opened
…ds to intermittent crashes when switching tabs
- Fixes a crash with single row tables- Fixed a bug where Remove Column fails to work for a table with 2 columns
Removed redundant line about motivation from README.
…ragraphs and trying to create a header (Shift+Enter)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@JocsJocs

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

11 participants

@Tkaixiang@yodatak@Jocs@peterjthomson@hubo1989@SeeYangZhi@mikejoseph23@vredesbyyrd@ffgan@mdsakalu@zhao-leo

[8]ページ先頭

©2009-2026 Movatter.jp