-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes pressing the Enter key to create a new line automatically inserts a code block. #5
Comments
Thanks for the feedback, I will check and fix it as soon as possible |
How is the progress of this Issue going? Looking forward to your response. |
I am really sorry but I couldn't reproduction it. What is your environment and browser version? |
I still can't reproduce the problem, I'll be upgrading to support angular18 and the latest milkdown in the next few days and you can try again then. |
😂那说中文交流吧,我这几天先试试升级一下,感谢回复🙏后续有什么我再来 |
@Ligayu Hello,跟你说一下最新的进展 |
@ousc 真的非常感谢🙏由于工作较忙,目前我任然停留在angular17还未升级angular至18来支持ng-prosemirror-adapter 0.0.8版本。我会在这个月升级,后续在你集成完最新milkdown和crepe后,组件用法是 变成,其他不变? |
ng-milkdown编辑器的用法和原来大概类似,但是会提供更多简化写法。 |
前几个月我看milkdown的源码变化挺大的,也是想接入新的编辑器组件和新的tooltip,编辑器组件倒是接入了在开发分支,但发现CodeMirror editor在代码过长会用class隐藏一部分html元素 |
我已经重写了这一部分,并提供了示例不使用codemirror而是使用shiki plugins = [
imageInlineComponent,
trailing,
$nodeView(listItemSchema.node, {component: ListItem}),
milkShiki,
$nodeView(codeBlockSchema.node, {component: CodeBlock}),
]; 另一个Angular项目ng-doc也在使用shiki,shiki的代码高亮更容易编写(和vscode一样),可以容易的和rehype集成,而且可以直接生成带有内联css的html,不需要引入css文件。 |
可以可以,还得是你阿👍 |
@ousc 我把项目升级到angular18后,发现ng-milkdown版本是17的,npm i时有问题,有空的话可以把ng-milkdown也升级到18 |
将会在新版本一起升级 |
markText.mov
👆You can watch the video above for detailed instructions.
The text was updated successfully, but these errors were encountered: