I am trying to build a simple dialog box driven plug in that would allow a user to adjust the line
height over a selected range.
Could someone please point me in the direction of which functions I would need to use to acquire the selected HTML so that I can append a span tag to it? I can't seem to find them.
Ideally I would like it to run like the Link dialog box does. But I can't seem to figure out what part of that code actually makes the selection and substitution of the highlighted text.
height over a selected range.
Could someone please point me in the direction of which functions I would need to use to acquire the selected HTML so that I can append a span tag to it? I can't seem to find them.
Ideally I would like it to run like the Link dialog box does. But I can't seem to figure out what part of that code actually makes the selection and substitution of the highlighted text.
RE: Selecting range for line height
You can find the code that you want in FCKSelection to get the selection and FCKTools to insert HTML o new nodes.