TrilliumNext can use drawio by https://github.com/SiriusXT/trilium-drawio, but Trilium not #221

Closed
opened 2025-10-01 15:49:33 -05:00 by giteasync · 4 comments
Owner

Originally created by @Zauther on GitHub.

Description

When I used Trillium version v0.96.0, I found that I couldn't create a new drawio following the instructions at https://github.com/SiriusXT/trilium-drawio. The drawio created before upgrading to version v0.96.0 worked fine, but I was unable to create new ones.

TriliumNext Version

v0.96.0

What operating system are you using?

macOS

What is your setup?

Local + server sync

Operating System Version

macos sequoia 15.5

Error logs

No response

Originally created by @Zauther on GitHub. ### Description When I used Trillium version v0.96.0, I found that I couldn't create a new drawio following the instructions at https://github.com/SiriusXT/trilium-drawio. The drawio created before upgrading to version v0.96.0 worked fine, but I was unable to create new ones. ### TriliumNext Version v0.96.0 ### What operating system are you using? macOS ### What is your setup? Local + server sync ### Operating System Version macos sequoia 15.5 ### Error logs _No response_
giteasync added the
upstream
label 2025-10-01 15:49:33 -05:00
Author
Owner

@eliandoran commented on GitHub:

Hi, @Zauther .

That needs to be investigated on the plugin side first.

@SiriusXT ?

@eliandoran commented on GitHub: Hi, @Zauther . That needs to be investigated on the plugin side first. @SiriusXT ?
Author
Owner

@SiriusXT commented on GitHub:

@Zauther I just tested it on version 0.96 and didn’t encounter any issues creating a note. You may want to check whether there's a mistake in how you added the widget, or try re-importing the widget from:
https://github.com/SiriusXT/trilium-drawio/blob/main/trilium-drawio-0.5.zip
(When importing, make sure the widget's disable property is not enabled.)

Additionally, you can install drawio-desktop on your computer and use Trilium’s Open Note Custom feature to edit Draw.io notes with the desktop app, without relying on the plugin.
Reference: https://github.com/orgs/TriliumNext/discussions/5943#discussioncomment-12659640

@SiriusXT commented on GitHub: @Zauther I just tested it on version 0.96 and didn’t encounter any issues creating a note. You may want to check whether there's a mistake in how you added the widget, or try re-importing the widget from: [https://github.com/SiriusXT/trilium-drawio/blob/main/trilium-drawio-0.5.zip](https://github.com/SiriusXT/trilium-drawio/blob/main/trilium-drawio-0.5.zip) (When importing, make sure the widget's `disable` property is **not** enabled.) Additionally, you can install **drawio-desktop** on your computer and use Trilium’s **Open Note Custom** feature to edit Draw\.io notes with the desktop app, without relying on the plugin. Reference: [https://github.com/orgs/TriliumNext/discussions/5943#discussioncomment-12659640](https://github.com/orgs/TriliumNext/discussions/5943#discussioncomment-12659640)
Author
Owner

@eliandoran commented on GitHub:

Closing as per @SiriusXT 's comment.

@eliandoran commented on GitHub: Closing as per @SiriusXT 's comment.
Author
Owner

@dosubot[bot] commented on GitHub:

Hi @Zauther! I'm Dosu and I’m helping the Trilium team.

In Trilium v0.96.0, creating new drawio notes with the trilium-drawio extension no longer works because the app now enforces strict, core-level registration for note types and templates. Extensions that dynamically add new note types (like trilium-drawio) are not supported unless their note types are explicitly registered in the core codebase. This is why existing drawio notes still work (they were created before the stricter checks), but new ones can't be created unless the extension is updated to match these requirements. There’s currently no plugin or runtime extension mechanism for adding new note types in v0.96.0—support for drawio would require core integration or official support in TriliumNext itself. More details on these changes can be found in the developer documentation and note type checklist.

If you need drawio support, you’ll need to use a fork or variant that includes drawio in the core, or wait for/participate in efforts to add it to TriliumNext’s core.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub: <!-- Greeting --> Hi @Zauther! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the Trilium team. <!-- Answer --> In Trilium v0.96.0, creating new drawio notes with the trilium-drawio extension no longer works because the app now enforces strict, core-level registration for note types and templates. Extensions that dynamically add new note types (like trilium-drawio) are not supported unless their note types are explicitly registered in the core codebase. This is why existing drawio notes still work (they were created before the stricter checks), but new ones can't be created unless the extension is updated to match these requirements. There’s currently no plugin or runtime extension mechanism for adding new note types in v0.96.0—support for drawio would require core integration or official support in TriliumNext itself. More details on these changes can be found in the [developer documentation](https://github.com/TriliumNext/Trilium/blob/a946ce35342e973eff233681c7c819710ed83877/docs/Developer%20Guide/Developer%20Guide/Development%20and%20architecture/Adding%20a%20new%20note%20type/First%20steps.md) and [note type checklist](https://github.com/TriliumNext/Trilium/blob/a946ce35342e973eff233681c7c819710ed83877/docs/Developer%20Guide/Developer%20Guide/Development%20and%20architecture/Adding%20a%20new%20note%20type/Note%20type%20checklist.md). If you need drawio support, you’ll need to use a fork or variant that includes drawio in the core, or wait for/participate in efforts to add it to TriliumNext’s core. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3c23c958-3279-4da6-b111-92747cc6d668?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/TriliumNext/Trilium/issues/6260)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TriliumNext/Trilium#221
No description provided.