Opened 11 years ago
Closed 11 years ago
#10996 closed Bug (duplicate)
Additional Paragraph Format styles doesn't get applied
Reported by: | Nachiket Patel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 4.2 |
Keywords: | Cc: |
Description
Added additional items in 'Paragraph Format' dropdown using config.js. Few of them are working and few are not working.
Following doesn't work.
config.format_small = { element: 'small', name: 'Small' }; config.format_blockquote = { element: 'blockquote', name: 'Blockquote' };
Following works.
config.format_pre = { element: 'pre', name: 'Code Format' };
Working sample: http://jsfiddle.net/nachiket/44hSH/ (Point 2)
Tested on: Mac OS X 10.7+ and latest Chrome (29+)
To add custom tags to format you can use the following:
This however in our opinion is invalid. For such requirements styles and not format should be used.
We have another unspoken rule here: for format only block tags should be used and not inline ones. This part of the ticket is invalid.
Part about blockquote is true but has already been reported in #8809.