LU XIANGRUI та wildcatDownstairs
c13cb2bf27
feat(plugins): add customEditor.toolbar menu above split/preview text editors ( #8164 )
...
Adds the `customEditor.toolbar` menu location (plugin API 1.21). A `[[contributes.menus]]` entry with `view` naming one of the plugin's own split or preview custom editors puts its command as an icon button in a thin strip above the text half of that editor; `when` works as for other menus. The host rejects a missing or unknown `view`, a tab-layout editor, unknown commands and submenus at install time. Buttons use the command's icon (else the plugin icon), the command title as tooltip and aria-label, and run with the same editor context as editor.title; the strip is hidden in preview-only mode and when nothing applies.
Closes #7796
Co-authored-by: wildcatDownstairs <[email protected] >
2026-12-05 14:05:54 +08:00
..
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-05 14:03:16 +08:00
2026-12-04 23:19:46 +08:00
2026-12-03 14:07:19 +08:00
2026-12-05 01:59:50 +08:00
2026-11-28 07:09:15 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 19:21:30 +08:00
2026-12-03 15:54:37 +08:00
2026-12-01 02:38:34 +08:00
2026-12-03 16:58:35 +08:00
2026-11-25 19:27:09 +08:00
2026-11-27 17:06:51 +08:00
2026-11-25 02:01:59 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:29:59 +08:00
2026-12-05 12:24:10 +08:00
2026-11-29 14:03:48 +08:00
2026-11-29 14:03:48 +08:00
2026-11-27 02:34:33 +08:00
2026-11-24 07:02:21 +08:00
2026-12-02 15:48:23 +08:00
2026-11-26 21:39:53 +08:00
2026-11-26 21:52:50 +08:00
2026-12-05 09:11:28 +08:00
2026-11-26 19:31:03 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 14:07:19 +08:00
2026-12-05 11:51:00 +08:00
2026-11-24 07:02:21 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:20:09 +08:00
2026-12-05 03:30:06 +08:00
2026-11-12 13:18:36 +08:00
2026-11-24 23:04:40 +08:00
2026-12-05 04:17:28 +08:00
2026-12-04 23:38:50 +08:00
2026-12-05 04:29:49 +08:00
2026-11-11 02:05:41 +08:00
2026-11-24 07:02:21 +08:00
2026-11-07 15:29:16 +08:00
2026-12-05 12:24:10 +08:00
2026-11-07 19:25:10 +08:00
2026-11-27 16:21:12 +08:00
2026-12-05 12:24:10 +08:00
2026-12-03 15:27:17 +08:00
2026-12-05 03:14:06 +08:00
2026-11-27 16:21:12 +08:00
2026-12-05 03:54:28 +08:00
2026-11-07 04:30:30 +08:00
2026-11-24 07:02:21 +08:00
2026-11-08 03:15:08 +08:00
2026-12-03 03:52:27 +08:00
2026-12-05 13:58:37 +08:00
2026-11-26 23:33:04 +08:00
2026-12-03 00:26:01 +08:00
2026-12-05 14:05:54 +08:00
2026-12-05 11:08:19 +08:00
2026-11-24 20:29:25 +08:00
2026-11-25 00:45:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 14:58:10 +08:00
2026-12-03 17:41:54 +08:00
2026-12-03 17:23:45 +08:00
2026-12-03 17:36:01 +08:00
2026-12-03 17:36:01 +08:00
2026-11-29 15:15:42 +08:00
2026-11-17 19:10:13 +08:00
2026-12-04 19:47:38 +08:00
2026-12-03 18:27:33 +08:00
2026-12-03 16:45:44 +08:00
2026-12-03 15:31:16 +08:00
2026-12-03 02:53:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 09:51:49 +08:00
2026-11-29 14:37:35 +08:00
2026-11-24 06:01:01 +08:00
2026-11-25 19:27:09 +08:00
2026-12-04 23:21:44 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 18:57:51 +08:00
2026-12-05 09:32:11 +08:00
2026-11-24 07:02:21 +08:00
2026-12-03 19:28:08 +08:00
2026-12-02 14:47:00 +08:00
2026-12-04 18:57:51 +08:00
2026-11-25 08:46:36 +08:00
2026-11-24 07:02:21 +08:00
2026-12-01 15:52:08 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 20:01:51 +08:00
2026-11-24 07:02:21 +08:00
2026-12-04 23:57:39 +08:00