<commit_before><!--toc=widgets-->
#Text
Text media is entered directly on a Layout in a Region Playlist. A rich editor is provided for formatting the text for display.

[Fonts](media_module_font.html) can be added to the editor using the Font module.

The text editor will have a background colour that is identical to the layout background colour and will provide a complimentary text colour when first opened.

![General Tab](img/media_text_form_general.png)


##Options
Text items can also have a scroll direction, speed and must have a duration of play. It is typical to have a text item as the only item in a Region Playlist and therefore the duration can be set to 1 second (or another low value).

![Options Tab](img/media_text_form_options.png)

##CKEditor
CKEditor is used for text input. Complete documentation for all the buttons is available over at [CKEditor's website](http://docs.cksource.com/CKEditor_3.x/Users_Guide).

Text formatting is actually HTML and you can "view source" on the text editor to adjust the HTML manually if you choose.<commit_msg>Explain text editor box xibosignage/xibo#1185<commit_after><!--toc=widgets-->
#Text
Text media is entered directly on a Layout in a Region Playlist. A rich editor is provided for formatting the text 
for display.

[Fonts](media_module_font.html) can be added to the editor using the Font module.

The text editor will have a background colour that is identical to the layout background colour and will provide a 
complimentary text colour when first opened. A red box will appear in the text editing window which signifies the size
of the region being edited. Text will wrap within that box, but can exceed the box height.

![General Tab](img/media_text_form_general.png)


##Options
Text items can also have a scroll direction, speed and must have a duration of play. It is typical to have a text item 
as the only item in a Region Playlist and therefore the duration can be set to 1 second (or another low value).

![Options Tab](img/media_text_form_options.png)

##CKEditor
CKEditor is used for text input. Complete documentation for all the buttons is available over 
at [CKEditor's website](http://docs.cksource.com/CKEditor_3.x/Users_Guide).

Text formatting is actually HTML and you can "view source" on the text editor to adjust the HTML manually 
if you choose.
{'fraction_non_alphanumeric': 0.05517536355859709, 'fraction_numerical': 0.003421727972626176, 'mean_word_length': 4.622596153846154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4097924', 'n_tokens_mistral': 616, 'n_tokens_neox': 594, 'n_words': 342}