diff --git a/apps/client/src/widgets/sidebar/HighlightsList.tsx b/apps/client/src/widgets/sidebar/HighlightsList.tsx
new file mode 100644
index 000000000..c18f1770b
--- /dev/null
+++ b/apps/client/src/widgets/sidebar/HighlightsList.tsx
@@ -0,0 +1,28 @@
+import { t } from "../../services/i18n";
+import { useActiveNoteContext, useIsNoteReadOnly, useNoteProperty } from "../react/hooks";
+import RightPanelWidget from "./RightPanelWidget";
+
+export default function HighlightsList() {
+ const { note, noteContext } = useActiveNoteContext();
+ const noteType = useNoteProperty(note, "type");
+ const { isReadOnly } = useIsNoteReadOnly(note, noteContext);
+
+ return (
+
+ {((noteType === "text" && isReadOnly) || (noteType === "doc")) && }
+ {noteType === "text" && !isReadOnly && }
+
+ );
+}
+
+//#region Editable text (CKEditor)
+function EditableTextHighlightsList() {
+ return "Editable";
+}
+//#endregion
+
+//#region Read-only text
+function ReadOnlyTextHighlightsList() {
+ return "Read-only";
+}
+//#endregion
diff --git a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
index 7b838c518..b5ad216fd 100644
--- a/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
+++ b/apps/client/src/widgets/sidebar/RightPanelContainer.tsx
@@ -7,6 +7,7 @@ import { useEffect } from "preact/hooks";
import options from "../../services/options";
import { DEFAULT_GUTTER_SIZE } from "../../services/resizer";
import { useActiveNoteContext } from "../react/hooks";
+import HighlightsList from "./HighlightsList";
import TableOfContents from "./TableOfContents";
const MIN_WIDTH_PERCENT = 5;
@@ -29,7 +30,8 @@ export default function RightPanelContainer() {
return (
);