0 Replies Latest reply on Dec 18, 2009 6:35 AM by nitinkcv

    Rich text editor customization

    nitinkcv Level 1

      Hi all,


      We plan to make use of the rich text editor in flex. However we have the requirement that we need to have the spellcheck and dictionary capability inside of it.


      Does anyone know whether its able to customize the rte to get this in?






      I've found something at http://www.flextendibles.com/ but am not to use it properly. I've mailed the concerned person. Hope he'll get back. Anywayz if anyone else has any idea please do post it.


      I'm facing another problem now. I want to remove the B, U and I controls from my RTE controls. I'm using the following code but it throws this exception:


      ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
          at flash.display::DisplayObjectContainer/removeChild()
          at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\core\UIComponent.as:5096]
          at mx.core::Container/removeChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\ core\Container.as:2274]
          at starter/changeRTELayout()[C:\Documents and Settings\nkishenchoweth\My Documents\Flex Builder 3\starter\src\starter.mxml:117]
          at starter/__scRTE_creationComplete()[C:\Documents and Settings\nkishenchoweth\My Documents\Flex Builder 3\starter\src\starter.mxml:234]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
          at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as :1169]
          at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:718]
          at Function/http://adobe.com/AS3/2006/builtin::apply()
          at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
          at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]


      Anyone know what this could be. I'm able to remove the other controls like the colorpicker etc..




      Continuing with my edits

      Problem for removing the buttons got solved. There's a visible property for each which we can set to false.

      As easy as that