mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-02 13:57:30 +08:00
Fix: Unable to navigate from the agent list page to the compilation editing page. (#17460)
This commit is contained in:
@@ -67,7 +67,7 @@ function InitialContentPlugin({
|
||||
root.append($createParagraphNode());
|
||||
}
|
||||
});
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
// oxlint-disable-next-line react/exhaustive-deps
|
||||
}, [editor]);
|
||||
|
||||
return null;
|
||||
|
||||
@@ -32,13 +32,13 @@ export class HorizontalRuleNode extends ElementNode {
|
||||
return new HorizontalRuleNode(node.__key);
|
||||
}
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* oxlint-disable typescript/no-unused-vars */
|
||||
static importJSON(
|
||||
_serializedNode: SerializedHorizontalRuleNode,
|
||||
): HorizontalRuleNode {
|
||||
return $createHorizontalRuleNode();
|
||||
}
|
||||
/* eslint-enable @typescript-eslint/no-unused-vars */
|
||||
/* eslint-enable typescript/no-unused-vars */
|
||||
|
||||
exportJSON(): SerializedHorizontalRuleNode {
|
||||
return {
|
||||
@@ -51,7 +51,7 @@ export class HorizontalRuleNode extends ElementNode {
|
||||
};
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
// oxlint-disable-next-line typescript/no-unused-vars
|
||||
createDOM(_config: EditorConfig, _editor: any): HTMLElement {
|
||||
const element = document.createElement('hr');
|
||||
return element;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* - LINK, HR
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars, @typescript-eslint/no-empty-object-type, no-useless-escape */
|
||||
/* oxlint-disable typescript/no-unused-vars, typescript/no-empty-object-type, no-useless-escape */
|
||||
|
||||
import { $createCodeNode, $isCodeNode, CodeNode } from '@lexical/code';
|
||||
import {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Ported from Nimbalyst — supports click-to-edit source code.
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* oxlint-disable typescript/no-unused-vars */
|
||||
|
||||
import { addClassNamesToElement } from '@lexical/utils';
|
||||
import type {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Ported from Nimbalyst. Creates MermaidNode instead of CodeNode.
|
||||
*/
|
||||
|
||||
/* eslint-disable no-console */
|
||||
/* oxlint-disable no-console */
|
||||
|
||||
import type { MultilineElementTransformer } from '@lexical/markdown';
|
||||
import {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Table transformer for markdown import/export
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars, no-console, @typescript-eslint/no-use-before-define */
|
||||
/* oxlint-disable typescript/no-unused-vars, no-console, typescript/no-use-before-define */
|
||||
|
||||
import { ElementTransformer } from '@lexical/markdown';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user