Text Management¶
- In this article:
Introduction¶
ImCMS 6 provides text and html editing feature - on-place text-editor, that can help easily change text on page.
Open Editor¶
In ImCMS, there are three modes of text editor: plain text, html and what-you-see-is-what-you-get editor.
There are several ways to open Text Editor :
Over text editor’s label:
- Go Edit Mode on admin panel. On each text tag in this mode you will see the pencil icon:
- Click on it:
Over direct editing feature - go to /api/admin/text?meta-id={id-of-doc-here}&index={index-number-of-text}, example: http://imcms.dev.imcode.com/api/admin/text?meta-id=1001&index=1
Currently, instead no, we have to use index
Editor Features¶
ImCMS text editor is TinyMCE v4. All information about this text editor presented on official site.
But ImCMS customize a bit this great editor and provides own features:
Image Browser
- this feature gives access to default ImCMS Image Editor. You can add and edit images in textText History
- you can review the history of all changes for current textSwitch to Plain Text Editor Mode
- you can switch to this mode for plain text edition, all TinyMCE features will be disabledSwitch to HTML Edit Mode
- you can switch to this mode for HTML code edition, all TinyMCE features will be disabledSwitch to TinyMCE Editor Mode
- you can switch from text/html mode back to TinyMCE editorHTML Content Filtering Policy
- approach to filter HTML content. It has three options:Restricted:
head
,script
,embed
,style
: tags + content between tags are removedhtml
,body
,doctype
: only tags are removedclass
,style
and unknown attributes are removed. Known attributes aresrc
href
rel
alt
align
width
height
border
cellspacing
cellpadding
target
title
etc. are kept
Relaxed:
head
,script
,embed
,style
: tags + content between tags are removedhtml
,body
,doctype
: only tags are removedclass
,style
and unknown attributes are kept
Everything Is Allowed