X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fbasicstyles%2Fplugin.js;h=6ad08b00af4b449d4b17f71b49e9560f3758b220;hp=aa00e9a29e5b1bee8c7e3f9618f9648059213ead;hb=e73319a12b56100b29ef456fd74114fe5519e01c;hpb=f0610347140239143439a511ee2bd48cb784f470 diff --git a/_source/plugins/basicstyles/plugin.js b/_source/plugins/basicstyles/plugin.js index aa00e9a..6ad08b0 100644 --- a/_source/plugins/basicstyles/plugin.js +++ b/_source/plugins/basicstyles/plugin.js @@ -44,58 +44,86 @@ CKEDITOR.plugins.add( 'basicstyles', // Basic Inline Styles. /** - * The style definition to be used to apply the bold style in the text. + * The style definition that applies the bold style to the text. * @type Object + * @default { element : 'strong', overrides : 'b' } * @example * config.coreStyles_bold = { element : 'b', overrides : 'strong' }; * @example - * config.coreStyles_bold = { element : 'span', attributes : {'class': 'Bold'} }; + * config.coreStyles_bold = + * { + * element : 'span', + * attributes : { 'class' : 'Bold' } + * }; */ CKEDITOR.config.coreStyles_bold = { element : 'strong', overrides : 'b' }; /** - * The style definition to be used to apply the italic style in the text. + * The style definition that applies the italics style to the text. * @type Object - * @default { element : 'em', overrides : 'i' } + * @default { element : 'em', overrides : 'i' } * @example * config.coreStyles_italic = { element : 'i', overrides : 'em' }; * @example - * CKEDITOR.config.coreStyles_italic = { element : 'span', attributes : {'class': 'Italic'} }; + * CKEDITOR.config.coreStyles_italic = + * { + * element : 'span', + * attributes : { 'class' : 'Italic' } + * }; */ CKEDITOR.config.coreStyles_italic = { element : 'em', overrides : 'i' }; /** - * The style definition to be used to apply the underline style in the text. + * The style definition that applies the underline style to the text. * @type Object - * @default { element : 'u' } + * @default { element : 'u' } * @example - * CKEDITOR.config.coreStyles_underline = { element : 'span', attributes : {'class': 'Underline'}}; + * CKEDITOR.config.coreStyles_underline = + * { + * element : 'span', + * attributes : { 'class' : 'Underline' } + * }; */ CKEDITOR.config.coreStyles_underline = { element : 'u' }; /** - * The style definition to be used to apply the strike style in the text. + * The style definition that applies the strike-through style to the text. * @type Object - * @default { element : 'strike' } + * @default { element : 'strike' } * @example - * CKEDITOR.config.coreStyles_strike = { element : 'span', attributes : {'class': 'StrikeThrough'}, overrides : 'strike' }; + * CKEDITOR.config.coreStyles_strike = + * { + * element : 'span', + * attributes : { 'class' : 'StrikeThrough' }, + * overrides : 'strike' + * }; */ CKEDITOR.config.coreStyles_strike = { element : 'strike' }; /** - * The style definition to be used to apply the subscript style in the text. + * The style definition that applies the subscript style to the text. * @type Object - * @default { element : 'sub' } + * @default { element : 'sub' } * @example - * CKEDITOR.config.coreStyles_subscript = { element : 'span', attributes : {'class': 'Subscript'}, overrides : 'sub' }; + * CKEDITOR.config.coreStyles_subscript = + * { + * element : 'span', + * attributes : { 'class' : 'Subscript' }, + * overrides : 'sub' + * }; */ CKEDITOR.config.coreStyles_subscript = { element : 'sub' }; /** - * The style definition to be used to apply the superscript style in the text. + * The style definition that applies the superscript style to the text. * @type Object - * @default { element : 'sup' } + * @default { element : 'sup' } * @example - * CKEDITOR.config.coreStyles_superscript = { element : 'span', attributes : {'class': 'Superscript'}, overrides : 'sup' }; + * CKEDITOR.config.coreStyles_superscript = + * { + * element : 'span', + * attributes : { 'class' : 'Superscript' }, + * overrides : 'sup' + * }; */ CKEDITOR.config.coreStyles_superscript = { element : 'sup' };