Was thinking about RTE in Sitecore and below are my Investigation. Let me explain
Why we are using Rich Text Editor (RTE) data-type while development ?
And when to use RTE ?
Advantage of using RTE:
RTE provides advanced editing functionalities
tools for editing like font-style, inserting sitecore link, media link, symbols and also settings like find and replace.
Like we are using Microsoft word in sitecore for RTE field
it's like we are inserting content in Microsoft word office, we can edit font-style, inserting symbols, insert links.
We can directly apply class definition by selecting from drop-down on selected text in RTE field
we can add our own custom class to the drop list, So that content author can apply the class to the content at the time of creation can apply class directly without help of designer/developer.
Have different types of RTE Profiles
we have four different types of RTE Profiles, which we can give as data-source to the field as per requirement:
When to use RTE data type
When feels that content may contains links(internal or external), images or symbols then it will be good to use RTE.
And if content contains more than one line of content which contains only text or external links then instead of using RTE should use Multiline text data type.
we can also add our own custom RTE Profile as per our requirements. and on this will discuss later
Why we are using Rich Text Editor (RTE) data-type while development ?
And when to use RTE ?
Advantage of using RTE:
RTE provides advanced editing functionalities
tools for editing like font-style, inserting sitecore link, media link, symbols and also settings like find and replace.
Like we are using Microsoft word in sitecore for RTE field
it's like we are inserting content in Microsoft word office, we can edit font-style, inserting symbols, insert links.
We can directly apply class definition by selecting from drop-down on selected text in RTE field
we can add our own custom class to the drop list, So that content author can apply the class to the content at the time of creation can apply class directly without help of designer/developer.
Have different types of RTE Profiles
we have four different types of RTE Profiles, which we can give as data-source to the field as per requirement:
- Rich Text Default
- Rich Text Full
- Rich Text IDE
- Rich Text Medium
When to use RTE data type
When feels that content may contains links(internal or external), images or symbols then it will be good to use RTE.
And if content contains more than one line of content which contains only text or external links then instead of using RTE should use Multiline text data type.
we can also add our own custom RTE Profile as per our requirements. and on this will discuss later