Opened 8 years ago

Closed 8 years ago

#6338 closed Bug (expired)

extra tags being added on ckeditor javascript api

Reported by: sandeep Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description

Hi,

When i try to use ckeditor javascript app what ever the html i try to place in the editor, its being appended by "<head>,<head>,<title>,<body>" tags.

even if try to remove them from source view option, these tags are being appended automatically.

i tried many options, went trough the api docs. couldnt find any solution for this.

i see the javascript api is very useful but , the above problem is drawing me back for using the editor.

even if the source view may contains the above tags and disabling them in the content of text area, can solve my problem.

please let me know if i can do any thing with this..

thanks in advance. http://docs.cksource.com/ckeditor_api/

Change History (2)

comment:1 Changed 8 years ago by Tobiasz Cudnik

Component: UI : Source ViewGeneral
Status: newpending

Could you clarify you report ? I understand you're seeing <head> and <html> tags inside source view and also receiving them from the API. This may happend only if you're using fullPage editing, which is not enabled by default and those symptoms in such case are part of that feature.

To disable fullPage editing, be sure to not enable it in config.js or in config object passed to intialization method inside page where editor is nested.

config.fullPage = false;

comment:2 Changed 8 years ago by Alfonso Martínez de Lizarrondo

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy