Reputation: 2050
I uses ajax rich text editor. I want to input a flash file into this editor. How can I do this. Please help me.
Upvotes: 0
Views: 375
Reputation: 49185
Rich text editor is really an HTML editor. So you should be inserting same html fragment (embed
or object
) to link the flash file.
Typically, you have to customize the control to add your own button and on button click, use java-script API for the control to inset the html fragment. I am unable to find exact documentation for this java-script API - looks like you have to inspect actual control accessor for possible methods or ask on SO again. Here's the link that use JS API to get/set entire html content.
Alternative is to use another rich text editor such as CKEditor or TinyMice or PunyMice
Upvotes: 1