Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nested list #82

Open
goldsky opened this issue Mar 11, 2012 · 4 comments
Open

nested list #82

goldsky opened this issue Mar 11, 2012 · 4 comments

Comments

@goldsky
Copy link

goldsky commented Mar 11, 2012

I tried to fix the nested list on TinyMCE.
Currently it does this:

        <ul>
            <li>list 1</li>
            <ul>
                <li>Nested list 1</li>
            </ul>
        </ul>

Which is supposed to be like this:

        <ul>
            <li>list 1
                <ul>
                    <li>Nested list 1</li>
                </ul>
            </li>
        </ul>

I found the it can be fixed by setting apply_source_formatting : false (http://stackoverflow.com/questions/6096506/problem-with-tinymce-and-list-items), but there is no setting for this.

Adding this to the class's property also does not work.

@DESIGNfromWITHIN
Copy link

I can confirm this....

@rmorse
Copy link

rmorse commented Nov 9, 2012

Just found this problem and found a solution, simply include the 'lists' plugin when you initialise TinyMCE

@DESIGNfromWITHIN
Copy link

@rmorse Could you explain a bit more how to fix it? I can not find any Lists plugin anywhere...

@rmorse
Copy link

rmorse commented Nov 14, 2012

@DESIGNfromWITHIN - the plugin itself is already included in the default download of tinyMCE so simply include it when initialising! ie

    tinyMCE.init({
        ...
        plugins : "paste,lists",
        ...
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants