问题
My client needs flickr and picasa support in my TinyMCE editor. Has anybody got any advice on plugins which would allow him to do 'standard' embed functions? I know that wordpress supports this, and I'd like to enable it in my own non-wordpress TinyMCE editor in a similar way.
Also, I'm using HTMLPurifier on the server to sanitise any input. I've enabled safe iframe embedding, so can support that, but other types of embed may need some extra work on HTMLPurifier.
What are the standard ways of embedding Picasa and Flickr, and does anybody know of any good TinyMCE plugins that support it?
Thanks.
回答1:
I found the tinymce picasa plugin. It is located here. You need to copy that folder to tinymces plugin directory. Your tinymce configuration needs to be modified so that that plugin gets added and the button too.
Concerning flickr this might be of interest to you.
来源:https://stackoverflow.com/questions/14476810/enable-flickr-and-picasa-in-tinymce