T O P I C R E V I E W |
jehape |
Posted - 05 Feb 2011 : 18:38:02 When I give a name to a div or an image or whatever, DHE always writes something extra before the name when the file is exported. For example I give the name "centerspot" to a div and DHE changes it to dhecenterspot.
For a site I am building for a friend I incorporate a simple CMS, so she can change text and images herself. For the editor I have to name certain textareas to something like this: <textarea id="TextArea1" name="TextArea1" style="width:650px;height:350px" class="editThis"> </textarea>
How can I of can I prevent DHE from writing extra code to the div's?
That was my question.
For the rest I am very enthousiastic about this editor it is great to work with and I like it very much. Keep on the good work Davide
A fan with a question
Jan van Galen |
1 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 07 Feb 2011 : 08:55:46 When assigning IDs to elements Dynamic HTML Editor uses the ID you chose for the main element and adds a prefix to the positioning DIV so:
<div id='ldheTextArea1'> <textarea id="TextArea1" name="TextArea1" style="width:650px;height:350px" class="editThis"> </textarea> </div>
the name of the TextArea is not changed
>How can I of can I prevent DHE from writing extra code to the div's?
You cannot, but you can use a HTML Box and write HTML code by hands ;-) |
|
|