Opened 17 years ago
Closed 12 years ago
#2260 closed New Feature (wontfix)
Expose TextNode on Toolbar Button
Reported by: | Joshua Szmajda | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Toolbar | Version: | FCKeditor 2.5 |
Keywords: | HasPatch | Cc: |
Description
I just created a patch to the editor source in order to expose the textNode that is the text of a text-only button in the toolbar. I needed this functionality in order to support a character counter plugin. I could see this sort of functionality being useful in other plugins as well that want to update toolbar button text.
Here's some sample code using the changed version: (charsCounterButton is defined as a global variable when created) charsCounterButton._UIButton.TextNode.nodeValue = 'Left: ' + this.LeftChars ;
Attachments (1)
Change History (4)
Changed 17 years ago by
Attachment: | fcktoolbarbuttonui.patch added |
---|
comment:1 Changed 17 years ago by
Keywords: | HasPatch added |
---|
comment:2 Changed 14 years ago by
Version: | → FCKeditor 2.5 |
---|
comment:3 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
FCKeditor is no longer supported thus I'm closing this issue.
AFAIK when implementing custom plugin in editor or changing existing one this can be done.
Patch to fcktoolbarbuttonui.js