One approach would be to provide your own custom version of the rich text editor - by copying the components scripts and configuration to your own /apps/your-app/components/content/text node and remove the unwanted tab.You could also hide the Style tab using javascript, again ideally in a custom of ...
Thanks Purnendra,Actually my page is built with jsps (resource super type, foundation/components/page), perhaps the init scripts, global jsp etc do something similar to the code in head.js for page templates built in sightly? I'll take a look.
I haven't tried this with jsp but I'm doing something similar in Sightly/ javascript and encountering the same issue. I've had to resort to something similar to the above comments : in preview/ publish mode fetch the design values via currentDesign.getJSON(), parse the value returned from that and...
A query regarding the reference docs: http://docs.adobe.com/docs/en/aem/6-0/develop/sightly/use-api-in-javascript.html.Are the Simple Example code listings correct? The html code mentions info.js but the data-sly-use directive specifies "Info" and the subsequent content tree shows "Info.java". Thi...
Thanks for this info : yes I am using chrome with OSX (quite a common combination I'd have thought!). I will make the change suggested and raise a daycare ticket regards the bug (I'm hoping to get the same behaviour for the italic key shortcut)
Thanks both for the replies I'd previously done both of what's been suggested; it's the keystroke bit I can't figure out - it seems clicking the Bold icon button in the RTE is processed differently than using the shortcut keys (ctrl+B).thanks
Using AEM6 and the RTE editor, I'd like the Bold format plugin to use the <strong> html element in place of <b>.I've almost done this with a combination of overlaying /apps/cq/ui/rte/core/commands/DefaultFormatting.js and rtePlugins: htmlRules: semanticMarkupMap entries.However, in the RichTextEdito...
Many thanks for the reply. I did start with the widgets api, but I didn't find any specific description of the 'referenced from' field. I suppose I should look into the js for the smartfile widget.By the way your link to SmartImage (and the same applies to CQ.form.SmartFile) show this widget marke...
Hi, can you help me understand the expected behaviour of the authoring widget html5smartfile?When I use this widget in an authoring dialogue and drop an image from the content finder onto the drag and drop area, it shows the file name in the editable text field for this component, e.g. 'MyImage.png'...