Results 1 to 2 of 2

Thread: HtmlEditor canvas plugin

  1. #1
    Ext Premium Member
    Join Date
    Sep 2009
    Posts
    77

    Default HtmlEditor canvas plugin

    I am trying to write a plugin for HtmlEditor that would add an HTML5 canvas element and would draw something inside the canvas.

    It is quite straightforward to add the canvas element, but I cannot figure out how I can actually embed some javascript that would do the drawing part.

    Is this possible?

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,751
    Answers
    130

    Default

    I would extend Ext.Component and add the logic (methods) inside the class.
    Best regards
    Tobias Uhlig

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •