Responsive Grid is not working - teaser component - aem

I am trying to use responsive behaviour of core components via proxy components. I am using OOTB teaser component.
In editable template, I have added teaser component which have resourceSuperType core/wcm/components/teaser/v1/teaser
I am in the layout mode and see the resposive layout.
I tried to set the viewport of teaser component via dragging. It shrinks but when I release the key of mouse, it again take the default position. PFA
I am refering the wknd codebase.
AEM Env : 6.5.0

Related

Remove AEM Grid from published mode

I have an issue that the responsive grid is applyed in my published mode:
The first DIV of my components is using this AEM Grid.
There's a way to turn off? Because I want to use the Bootstrap Grid and leave the AEM Grid to use only in layout mode.

Rich Text component in AEM 6.3 touch ui

I knew about xtype richtext for classic ui.
I am working more on touch ui these days and would like to have a rich text component in cq:dialog touch dialog.
Could anyone point me to an example with explanation about the rich text component in aem 6.3 touch ui?
I was looking at the example I do not understand rtePlugins node in _cq_editConfig.xml and I assume basic richtext functionality is provided by _cq_dialog content.xml
What is the different between example2
and example
Thanks.
The rtePlugins node lists configurations for enabled plugins in the RTE. You can use either examples you have in your post to achieve the rich text functionality you are after.
If you are interested in a different form of RTE, checkout this CKEditor widget I built a while back: https://github.com/ahmed-musallam/aem-ckeditor-widget

AEM page with rich text and image

I am using AEM 6.0 and want authors to create page using a template having
Page headline
Page sub headline
Page rich text
An image
Page rich text
Similar page - Page with image & RTE
I am planning to use AEM RTE for rich text and as RTE does not provide any option to inset image, i can do one of these
Upgrade RTE to embed image but it will have issues with responsiveness
Create page with multiple RTE and image components to render above output.
Does anyone know best way to achieve this?
For a fixed layout with responsive capabilities you are better off using templates just for simplicity. By fixed layout I am assuming your page will have fixed content location for images and text (guessing from your template details)
Modifying RTE for responsive image insertion on an arbitrary location will not render a good HTML unless you override a lot of RTE functionality. This will be a pain and counter-productive for the use case.
A mid-way alternative is to make a custom image with text (text and image control) where you allow the user to enter text and select and image separately and then provide additional layount options (image position) and responsive customisation.
One more flexible option is to use acs-commons grid layout control to use different text and image controls while letting a grid based css framework (e.g. bootstrap) take care of responsive aspects of the site.
Hope these ideas help you.

Divshot static container width with Bootstrap

Is it possible to define fixed container widths in Divshot, if so where?
Trying to make a 960px based site which isn't used for mobile.
I would like the container fixed so its children fill it but don't resize with the browser window.
We include the Bootstrap responsive styles by default (and as of Bootstrap 3 it will be baked into the framework). When you export your code you can remove the extra call but at present there is no option to do so.

In LWUIT, how can i add multiple container/Layout on single Form?

In J2ME I am Using LWUIT library.
My problem is I want to add various component on single Form using different layout or Container. I am looking for some code or example.
Example..
add Header image on top of the Form.
Adding two label, two textfield on
one Container/layout and Two button
on another Container/layout. Design
like Login Form.
add Footer image on bottom of the
Form.
Set the title image of the form for showing header image. Set the softbutton image of the form for showing footer image.
Normally you can use the border layout or box layout for both container and form. See the LWUITDemo application on LWUIT repository. It will helps you. Also see the same sample examples,
The Lightweight User Interface Toolkit (LWUIT): An Introduction
Using LWUIT layouts
use different container with different layout to add in form
i.e set form to Borderlayout add title container to north and footer container to south
next use another container with your required layout and add it to center in form, thus create container hierarchy
For samples on how to arrange components in various layouts you can look within the LWUIT 1.5 distribution and on demos such as the LWUITDemo which has a layouts demo within it. Keep in mind that layouts can be nested.
The LWUIT blog which I maintain contains lots of samples of layout usage.