CKEditor inside FancyBox edit disabled - fancybox

I tray to use CKEditor inside FancyBox, all work great, but if i try to add for ex. table all fields is disabled. (I attach an image. The same for image, flash...)
I try to open CKEditor without FancyBox and it's work OK but i need like with FancyBox.

jQuery UI (which I believe is used in your system, but in fact the same issue occures when using Twitter Bootstrap) is blocking all inputs in CKEditor's dialogs. It seems that guys from jQuery UI were working on this issue, but I'm not sure if new version, including this fix, has been already released.
Check this bug report on CKEditor trac for more info.

Related

Rich Text Dialogs for Touch UI in AEM 6.5

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.

How to align fieldLabel and textfield as single line in dialog in AEM 6.3

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.

Prevent HTML flash on TinyMCE load

My question is the same as this Stackoverflow question, I want to prevent the brief flash of HTML that happens on a page with a TinyMCE editor. The problem with the answer to that other Stackoverflow question is that it does not seem to work with TinyMCE 4. I set display:none; of the textarea containing the HTML to edit. And in the init callback for TinyMCE, I reset it to display:block;. All that happens is that the original textarea is displayed on the page, with no sign of the TinyMCE editor.
Try using the visibility property instead.

Fancybox working on local but has gliches on server

I am new at fancybox and am having trouble. I think I have done it right, according to what the fancybox site says. I have a few images and wanted to hide all but one and then have a slide show. This worked great when I was working local but now it is missing a bunch of styling it seems and it is not hiding the other images.
Here is one of the pages:
http://josborneanderson.com/design/farmers.html
It looks like you are missing this file on your server.
http://josborneanderson.com/fancybox/source/jquery.fancybox.css?v=2.1.5

Allowing a user to resize a GWT TextArea using "gripper bars"

I am currently trying to replicate the functionality of the Sticky application (fourth example under "samples") in my GWT application, specifically NoteView (see the class NoteView in SurfaceView.java in my personal repo or download Google App Engine's SDK, where you'll find it in appengine-java-sdk-1.5.1/demos/sticky).
However, as hard as I try, I just cannot find the place where Google put in the gripper bars on the bottom right hand corner of every note, and where their code allowed the user to resize the note. grepping for "resize" and "resizable" in their sticky dir was not fruitful, and the CSS "resize" functionality was not used either. Also, GWT Textareas are not automatically resizable in the way that these notes in GWT are, and I don't know how to enable this or set it up.
I'm sorry but it really just is a textarea, and your browser does the rest (most browsers make textareas resizable nowadays).
Using Firebug or a similar developer tool, can you tell which differences are there between the Sticky sample and what your code does?
I figured it out -- it was old crud css left over from a gxt implementation. As soon as I removed the css file, the textarea automatically had gripper bars.