Hi,
I would like CKEditor not to put a new line with a tab for HTML code like headers (h1,h2,h3,...).

I see that when I check the source:

<h2>
	Lorem ipsum dolor sit amet.</h2>

This cause the module tableofcontents not being able to create its table of contents.
I've tried to find out how can I configure this in the config file, but I haven't find anything.
Usually I like to put this in "Custom javascript configuration" into a profile.

Comments

j0nathan’s picture

Title: don't put a new line with tab/space for HTML code like h1, h2, h3 » no new line with tab/space for HTML code like h1, h2, h3 - this is for the module tableofcontents
j0nathan’s picture

I've also post an issue in the project Table of Contents:
#699366: issue with ckeditor (new lines and tabs)

j0nathan’s picture

Status: Active » Fixed

The new version of the module tableofcontents 6.x-3.2 solves my issue, so I'll close it.

wwalc’s picture

Great, thanks J0nathan for explaining what was the problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.