We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
效果图如下:
The text was updated successfully, but these errors were encountered:
等待官方实现时间较长,且业务无法定制,可通过编辑器提供的api,自行扩展
instance.eventBus.on('contentChange', () => { const rangeContext = instance.command.getRangeContext() // 光标闭合 if (rangeContext?.isCollapsed) { // 特殊符号 if (rangeContext.startElement.value === '@') { // 弹出框显示 const [{ x, y, height }] = rangeContext.rangeRects console.log('x, y, height: ', x, y, height) } } })
Sorry, something went wrong.
No branches or pull requests
效果图如下:
The text was updated successfully, but these errors were encountered: