Cool Component – Using af:richTextEditor as text editor, HTML editor with custom toolbox in Oracle ADF

Sharing is Caring

Hello all,
This post is about af:richTextEditor component in ADF,
This component is used  for text formatting, colors, it supports links, labels, messages etc and can be used as mail editor, blog editor

  • af:richTextEditor looks like this on page
  • The user can use it for text formatting on the page as-
af:richTextEditor
  • It supports both Rich text and HTML, you can see by switching over editing modes (Rich text editing mode, Source code editing mode)

 

  • If you want to use this as simple text editor go to source editing mode and just write plain text
  • One very good thing is that you can use this HTML editor, go to Source Editing Mode and write HTML code, then switch to Rich Text Editing Mode to view the result, so it can be used as basic HTML editor on the web page

HTML code-

Result-

  •  Other than this user can control its toolbox structure and layout, there is a property named ToolboxLayout, some built-in value for this property is

all, font, history, mode, color, formatAll, formatUncommon, justify, list, indent, link, newline
look in snaps-

 

 

 

 

Related Posts

An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF

3 thoughts on “Cool Component – Using af:richTextEditor as text editor, HTML editor with custom toolbox in Oracle ADF”

Leave a Reply

Your email address will not be published. Required fields are marked *