Open Closed

Need upload file button in toastui-editor #1707


User avatar
0
zsanhong created

I need upload file(like pdf,doc,zip file) in toastui-editor, how to add a file upload button in the toolbar and write the event? please help me.

  • ABP Framework version: v4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

5 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi, you can customize toolbar with following this documentation https://nhn.github.io/tui.editor/latest/tutorial-example15-customizing-toolbar-buttons

    You can open your own modal with file upload input, and append a text line into editor like [FileName.pdf](/your/path/to/file/FileName.pdf)

  • User Avatar
    0
    zsanhong created

    I read the document, but because the tui-editor in abp v4.0 use the version 2.5.3, but the document is for version 3.0.2,and the api is not the same.so I can't add the button as the document. thanks

  • User Avatar
    0
    zsanhong created

    I tried to update the tui-editor to the latest version, the tui-editor is not work .

  • User Avatar
    0
    alper created
    Support Team Director

    toastui-editor is a 3rd party tool and it's out of support. could you pls ask it on its own repo?

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11