I want to create Rich Text dialog in AEM 6.5
I have added the RTE plugins and UI settings but still it is not working.
Please see the attached image of the structure of rich text dialog.
Do we need to write some code or class so that rich text dialogs can work.
Please help.
The best way to figure out if you have done anything wrong is to copy the richtext from /libs/core/wcm/components/text/v1/text/cq:dialog/content/items/tabs/items/properties/items/columns/items/column/items/text to your dialog and check if the RTE is appearing or not. If it is, then compare the one you previously created with this one and figure out what is going wrong.
Always the best approach is to check the OOTB fields structure and compare it with your structure to figure out what is going wrong.
Rich Text Editor in Dialog
It is always better to configure dialogs directly with XML instead of doing it in CRXDE.
To start with you can look into the 'Text Component' dialog which has RTE in its dialog.
Look into the <text>...</text> part in the content.xml of the dialog. Hopefully, you will get a better idea.
Related
I'm trying to customize the about dialog in my eclipse RCP application. I already managed to add my logo and to replace the title and the text body as described under Branding Your Application.
I would also like to add some buttons to it: send a feedback or open the wiki page etc.
Is there a way to do it or achieve a similar functionality?
Any help is much appreciated.
The About diaog (org.eclipse.ui.internal.dialogs.AboutDialog) does not support any configuration.
The 'feature image row' you have highlighted is populated from the IBundleGroupProvider array returned by Platform.getBundleGroupProviders(), I don't see any way to add to this.
How to align fieldLabel and textfield as single line in dialog in AEM 6.3? But in AEM 6.2 it's showing Single line FieldLabel and Textfield.
Please find attachments AEM 6.2
AEM 6.3
Like you, I was wondering about that. I have looked over every documentation from Adobe, found nothing that suggests that it's possible.
If you look at 6.1 dialog source, you'll see the form has coral-Form--aligned when in floating mode and coral-Form--vertical in fullscreen.
in 6.3 dialogs, it's always coral-Form--vertical
Also, if you look at the dialog JSP, in 6.3, at this path: /libs/cq/gui/components/authoring/dialog/dialog.jsp you'll see that they add coral-Form--vertical by default and there are no properties to change that behavior.
So, it seems Adobe will keep the dialog style as vertical.
I don't recommend the following, but it is mentioned because it's possible:
If you really really want to force "aligned", you'll have to write a simple script to add coral-Form--aligned to the dialog form and remove coral-Form--vertical, I tried that, and it results in an unpleasant UI (see screenshot) that needs a few CSS fixes.
I'm building an extended editor around TinyMCE and I have to implement a Math formula module. I've choosen Mathjax for formula rendering, using plain html/css. So far, I've managed to create a plugin that popup a panel with a textarea, you can enter your latex in, there's a preview in the panel.
Once you validate the formula, it's injected into tinymce content. This new content is A LOT of spans with inlined styles, and OF COURSE, I don't want tinymce to be able to edit that directly. (sidenote: we only store latex, not the rendered html output from mathjax)
Basically, I want that a piece of html inside Tinymce to be ignored totally, but displayed in place. I want my carret to be able to move before that piece of html, and after, but not inside.
The "non editable content" plugin seems to be close of what I'm looking for, but it has some limitation (you can't ADD no editable content on the fly, having nested html content inside an element flagged as "non editable" broke some things, etc.)
Is someone could help with that ? I started to tweak the non editable plugin, but it's really really hard to understand existing code. Has someone already did something like that, or is there another third party plugin ?
thanks
Suppose I have a html opened in a Browser. Now in that HTML file , I've a hyperlink and On clicking on that hyperlink, I want to open the Eclipse Help Window.
Same as Like
Eclipse>Welcome>What's New>Plug-in
Development Environment
I know the above is using an intro extension, but I am using a view to display the html. Now please show me a way to achieve the target.
The welcome screen and a lot of other places where hyperlinks appear in Eclipse UI aren't implemented using Browser widget, but rather using the FormText widget. The FormText widget supports limited markup, including hyperlink rendering. You control behavior of the hyperlink.
This article covers the use of FormText control:
http://www.eclipse.org/articles/Article-Forms/article.html
It may be possible to achieve what you are after using an actual Browser control, but if your scenario doesn't call for tricky formats, it will definitely be easier using FormText.
Does anyone know of a GWT widget that works like a spelling suggestor?
Ideally it would be similar to this: http://www.polishmywriting.com/
I need a click-triggered popup on user generated text so that I can suggest replacements (I am not building a spell-checker, but something similar). I also really like the way the polishmywriting menu is set up (when you click on an underlined word).
Is there a widget that would allow me to make something similar?
Basically I'm trying to clone the little popups used by spellchecking in Gmail and polishmywriting.
If not, what would be my first step to make it?
Thanks for your time and answers,
DTrejo
Have you had any luck yet? I know it's been quite a lot of time, but found this just now.
It is a very specific widget, so maybe you won't be able to find exactly what you are looking for. In that case, making one from scratch might prove as a challenge.
The first thing you will notice is that a regular gwt TextArea won't do the job of holding the text. You will need something more flexible to dynamically put clickable labels in the text itself.
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control, released as Open Source.
http://en.wikipedia.org/wiki/TinyMCE
There is also a gwt wrapper available, so you might find that useful:
http://code.google.com/p/tinymce-gwt/
If you check the polishmywriting editor after the spell checking markup is displayed, you will notice it is not a TextArea. The text is a series of paragraphs and the labeled parts are span elements. This are the elements you can easily access with gwt and put some click handlers there to open the popup.
And for the popups, it shouldn't be difficult. Use a standard gwt PopupPanel. The popup panel can be displayed in a relative position to other elements displayed on the page:
popup.showRelativeTo(otherElement);
If you did find something useful in the mean time, feel free to share.