Skip to content

[Bug]: Compatibility Issue Between Your Plugin and “Smart Composer” #71

@ElflingSakura

Description

@ElflingSakura

Bug Description

Description:
First of all, thank you for developing this amazing plugin! The hotkey features in Canvas have been a key part of my workflow, and I’ve really enjoyed using them.

Recently, I started using the “Smart Composer” plugin, which mimics “Cursor” in Obsidian. However, I discovered that the two plugins don’t seem to work well together. Specifically:

  • After interacting with the AI in “Smart Composer” and clicking “Apply,” the content is supposed to automatically update in the note file.
  • When your plugin is enabled, this operation results in an error.
  • If I disable your plugin, the “Smart Composer” functionality works as expected.

Additional Information:

  • The warning shows as the first image:
    (intermediate value)(intermediate value)(intermediate value).endsWith is not a function
  • The detailed error message in the console is attached as the second image.
  • Disabling your plugin resolves the issue, so it seems to be a compatibility conflict.
  • I’m using the latest version of both plugins and Obsidian.

I really enjoy using both plugins and would love to see them work together seamlessly. Please let me know if there’s anything I can do to help troubleshoot or test a potential fix.

Thanks so much for your hard work on this plugin!

Relevant Screenshot

Image Image

To Reproduce

  1. Install and enable both Your Plugin and “Smart Composer.”
  2. Use “Smart Composer” to chat with the AI and click “Apply” to update a note.
  3. Observe the error message (attached images for reference).

Obsidian Version

Version 1.7.7 (Installer 1.7.5)

Checklist

  • I updated to the latest version of the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions