I have a plugin for the editor with a few buttons for things like
<strong> and <em>. I do not use TinyMCE. The editor is good enough for
me, though it lacks those buttons. I guess, that is what my plugin is
for. ;-)

Now the problem, I need to get the selected text (if any) and to use
it as a part of the HTML tag, I want to include. But I do have a
problem with "habari.editor.getSelection". How is that thing working?
What do I have to do to get over this part

if($('#content').filter('.islabeled').size() > 0) {

        return '';

}


For the moment, I wrote myself a simpler version of "getSelection" as
part of my plugin. But that should not be the solution.

Can anyone help me here?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/habari-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to