Hello to all!
Great work on this product!!! I just got through plugging it into a system that we are using here at the University and I have a question about the source popup configuration.
My app has a text box over which I have floated fckeditor with the source pop up. I am building the necessary javascript for the text box in my perl script that invokes this form. The text box is used to build html forms and there are custom tags that are part of the system.
When I pull in a form into my text box and then use fckeditor, everything goes as it should with this exception:
I use the source button to work with the actual html source and the formating in the window is perfect!!!! however when I switch back to my text box , all of the source is on one line with no breaks and not formatted at all. Because I have users that will just edit their stuff in the textbox and not use the toggle to fckeditor and other who will use fckeditor - you are probably already seeing the issues.
In my javascript where I set up the toggle between text box and fckeditor I can see where I can begin the formating process of the fckeditor text posting back to the the textbox.
Here are the questions:
1) is there a function that I can call as follows:
var dataArea = oEditor.GetXHTML() ;
var newData = [fckeditorFuction(dataArea)]
var dataTextA = document.getElementById('DataTextarea');
dataTextA.value = newData;
2) Is there anyway that I can get my custom tags to show up in the fckeditor window?
thanks for any help that can be given
Great work on this product!!! I just got through plugging it into a system that we are using here at the University and I have a question about the source popup configuration.
My app has a text box over which I have floated fckeditor with the source pop up. I am building the necessary javascript for the text box in my perl script that invokes this form. The text box is used to build html forms and there are custom tags that are part of the system.
When I pull in a form into my text box and then use fckeditor, everything goes as it should with this exception:
I use the source button to work with the actual html source and the formating in the window is perfect!!!! however when I switch back to my text box , all of the source is on one line with no breaks and not formatted at all. Because I have users that will just edit their stuff in the textbox and not use the toggle to fckeditor and other who will use fckeditor - you are probably already seeing the issues.
In my javascript where I set up the toggle between text box and fckeditor I can see where I can begin the formating process of the fckeditor text posting back to the the textbox.
Here are the questions:
1) is there a function that I can call as follows:
var dataArea = oEditor.GetXHTML() ;
var newData = [fckeditorFuction(dataArea)]
var dataTextA = document.getElementById('DataTextarea');
dataTextA.value = newData;
2) Is there anyway that I can get my custom tags to show up in the fckeditor window?
thanks for any help that can be given