chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -57,7 +57,7 @@ export const useSelectionInJinjaRaw = () => {
|
||||
|
||||
editor.$on('viewUpdate', checkInJinjaRaw);
|
||||
|
||||
// 初始检查
|
||||
// Initial inspection
|
||||
checkInJinjaRaw();
|
||||
|
||||
return () => {
|
||||
|
||||
@@ -39,7 +39,7 @@ export const ConfigModeWidgetPopover = (props: {
|
||||
}
|
||||
const handleViewUpdate = (e: ViewUpdate) => {
|
||||
if (e.docChanged) {
|
||||
// 判断当前光标是否在 slot 节点内
|
||||
// Determine whether the current cursor is in the slot node
|
||||
const { state } = e;
|
||||
const range = templateParser.getCursorInMarkNodeRange(state);
|
||||
if (!range) {
|
||||
|
||||
Reference in New Issue
Block a user