1 Reply Latest reply on Feb 14, 2011 4:46 AM by fakerabbit

    How do I customize mx:RichTextEditor?

    Shedo Surashu

      I want it to display only the some of the designing options, to be specific, I want it to only display the Bold, Italic, Underline and the font size styling options. I don't want it to display the alignment and the link creation. How do I do that?

        • 1. Re: How do I customize mx:RichTextEditor?
          fakerabbit

          var rte:RichTextEditor = new RichTextEditor();

          rte.linkTextInput.visible = false;

          rte.alignButtons.visible = false;

           

          Should be what you're looking for. Basically you can solve problems like that by yourself: just ctrl+click on RichTextEditor in your code and the source code of the component will appear. There, you can see what's what.