Forum


HomeHomePremiumPremiumDevelopmentDevelopmentEmbedding the CK Editor into a formEmbedding the CK Editor into a form
Previous
 
Next
New Post
2/12/2015 6:29 AM
 

Hello,

Can anyone give me any tips on embedding the CKEditor into a form? I use the following line which displays the editor successfully:

<dnn:texteditor id="Texteditor1" ClientIDMode="Static" runat="server" height="100%" width="100%"></dnn:texteditor>

 

The problem is that this 'breaks' my form. The form is fine up to the point where the editor is inserted. Thereafter the form layout is ignored and some form elements are missing. So I presume the html generated by the ckeditor is not well formed.

Has anyone else had a similar experience?

Steve

 
New Post
2/12/2015 10:42 AM
 

Hi Steve,

I have used the RadEditor before without problems. In any case whenever I have odd formatting problems within DNN, I try to use a "reset" tag like:

<div class="dnnClear">
</div>

This resets definitions and gives me a clean start after that. I would try to include that after you add the editor tag in your code.

Cheers,

Aderson

 
New Post
2/12/2015 11:03 AM
 

Hi Aderson,

Presume you mean:

              <dnn:texteditor id="Texteditor1" ClientIDMode="Static" runat="server" height="100%" width="100%"></dnn:texteditor>
              <div class="dnnClear">
              </div>

Doesn't make any difference I'm afraid. Not even sure what to do next.

Best Regards,

Steve

 
New Post
2/12/2015 11:08 AM
 

Hi Steve,

Send me private access and I will have a look for you.

Cheers,

Aderson

 
New Post
2/12/2015 11:22 AM
 

Hi Aderson, 

Thank you so much for your kind offer. But I'm developing on my local machine, so will need to set it up when i go live. In the next week or so.

Thank you one again.

Steve

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentEmbedding the CK Editor into a formEmbedding the CK Editor into a form



Try FREE
30 days money back guaranteed