I am having a very odd issue and am at my wit's end. I have a brand new install of CKEditor in my system, and it is refusing to display the button for numbered lists. It also does not display them in the editor if I add the list manually through the source.
I installed the "full" install of CKEditor and have the latest version.
My config.js creates the toolbar thusly:
CKEDITOR.editorConfig = function( config ) {
config.toolbar_standard = [
{ name: 'stuff', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] },
{ name: 'morestuff', items: ['NumberedList', 'BulletedList'] },{ name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Superscript', 'Subscript'] },
{ name: 'colors', items: ['TextColor'] },
{ name: 'paragraph2', items: ['JustifyLeft', 'JustiftyCenter', 'JustifyRight', 'Outdent', 'Indent'] },
'/',
{ name: 'document', items: ['Source'] }
]
};
and when I instantiate the editor in the page:
CKEDITOR.replace('myTextArea',
{
toolbar : 'standard',
allowedContent: 'p b i ul li; img[!src]',
width:"800px",
height: "300px"
});
So far, so good. Editor loads and all the buttons are there... except for "NumberedList" which simply does not show up. Oddly, bulleted list does show, and works fine. I'm not importing any CSS that would alter the OL differently from the UL. When I add the OL manually to the page using source view and then switch back to WYSIWYG mode, the OL doesn't show.
It sounds like a plugin problem except I'm using the full install AND the UL shows and works fine while the OL does not. I've downloaded and reinstalled the files half a dozen times now with no luck. I doubt this is a bug, this is too specific, but obviously I'm doing something so stupid that I'm too dim to realize what it is. I would definitely appreciate a switft kick to the rear end towards the direction of a possible solution.
Many thanks
MT
EDIT: Ugg, figured it out. Talk about painting yourself into a corner. If you don't allow the OL tag... SURPRISE! It won't appear. Is there a way to delete this post?
Hi MT,
Hi MT,
glad to see you found a solution :) Instead of deleting the post, I'm marking it as solved, perhaps someone will have a similar problem in the future and will be happy to find a solution!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!