Ckeditor HTML div's replaced with p tag automatically on save - ckeditor

I am trying to use ck editor , I add html to editor box it saved to database successfully. When i reopen my editor page and check source it vanish my all div's and all p tag to all html can you please help me how i can get out from this problem.

Related

How to display CKEditor generate code properly?

When I edit the content in CKeditor, it looks well. but when I display the data on html page. the layout are reset by other css file. How to avoid this? Is it possible to disable show the content in CKeditor without toolbar?
The content.css solve my problem. Add the style to content.css .
ck editor is highly customizable. Go to your CKEditor Directory ckeditor\samples\index.html
Open this file
Click on ToolBar Configurator Button on top right Corner.
Switch to advanced mode. At top right corner there is a switch, toggle it to advanced mode.
Then build your toolbar.
Now click on 'Get ToolBar Config' Button.
Select and Copy the Configuration and Paste it into foll file:
ckeditor/config.js
For CSS issue: Try loading and calling the replace function at end of your html Page.

CKEditor 3.6.1: Load editor on event

I create a page with multiple tabs.
On one of my tabs I want to use CKeditor on a textarea, so when I display my table I call:
editor = CKEDITOR.replace('MyTextArea', MyOptions );
I have the UI of the editor but when I click on the text area nothing append, I can't edit it. The solution for access to the text area is to use "tab" for accessing this field.
I try to put a default value and I can edit if I click on the text but if I click elsewhere in the area I cannot edit.
I have this problem for IE10 and I need it works on it. It's working on Chrome and Firefox. I use CKEditor 3.6.1 and I cannot upgrade it.
Thanks
The problem was the z-index of the container of my textarea, I change it and it works.

ckeditor deteles page <title></title> title

I'm trying to set the meta information of a page in ckeditor.
This works fine, except of the title. Everything I write in here, will be deleted by ckeditor if I change to WYSIWYG mode and back to source.
Any way to prevent this?

Bootstrap Markdown (CodeIgniter 2)

I am using Bootstrap Markdown for my project powered by CodeIgniter 2.
When I use it on a textarea, it does the markup, the preview and all buttons work perfectly.
The only problem I have is when I submit the form, it does not use the HTML Markup, but the Markdown.
e.g. When I write
Text
**Bold**
Else
and then click on Preview it does the Preview (I see the HTML markup). But as soon as I submit the form, it saves it as
Text
**Bold**
Else
Do you know how to resolve this problem?
Thank you in advance.

Ckeditor Inline Editing - hyperlinks don't work

Hyperlinks don't work when applying inline editing to a div tag.
You can even try it on this online DEMO.
Insert Hyperlink
Disable inline edit dialog by clicking somewhere on the page
Try to click on created hyperlink. Hyperlink hand cursor doesn't appear as you normal would expect when pressing link in a webpage.
Destroying CKeditor instance will also not resolve this problem.
Is this normal behavior ?
This is the normal behavior, you're in an editing mode.
Inline editing was made for a back-end use, you're not suppose to click on those hyperlinks like a front-end user. You just have to display the generated HTML in a front-end div (without CKEditor, of course) to get your hyperlinks work.
To open the link in inline editing mode, just CTRL + click, like in MS Word, but not with IE.

Resources