[opencms-dev] Edit point not visible on some contents

Alex Kandzior alex at opencms.org
Wed Jun 1 12:50:36 CEST 2022


The edit point by default is placed on the top right side of the elements outer div.
The bootstrap row adds a negative margin to an element, which may or may not lead to the editor point placed being outside the visible area.

However, you can adjust the editor point placement manually by adding a CSS class="oc-point-T{tvalue}_L{lvalue}“ to the outer div our your element.
In this case the editor point will be moved by {tvalue} from the top and by {lvalue} from the right.
Both values can also be negative.

For example class="oc-point-T10_L-25“ will add 10px to the top position (moving the point down) and subtract 25px from the right position (moving the point left).

HTH

Kind regards,
Alex.

-------------------
Alexander Kandzior

Alkacon Software - The OpenCms Experts                                                    
http://www.alkacon.com - http://www.opencms.org                                                          


> Am 01.06.2022 um 12:14 schrieb Laurent Druart via opencms-dev <opencms-dev at opencms.org>:
> 
> Hello,
> 
> More info on the "edit point" icon invisible on some contents:
> 
> My formatter genrates a "<div class="row">" block and I can see in firefox dev tool that the divs of the edit button/toolbox is present in page editor. So I added a surrounding div in my formatter and now "edit point icon" is visible... Not on good place but visible.
> 
> Is it a known problem with bootstrap row?
> 
> Regards,
> 
> Laurent
> 
> Le 31/05/22 à 16:20, Laurent Druart via opencms-dev a écrit :
>> Hello,
>> 
>> On some contents the "edit point" icon in page editor is not visible on the right of the content. What can be the reason(s)?
>> 
>> I can drag and drop these contents on a page but it seem's also that they are not saved in the page.
>> 
>> Any ideas?
>> 
>> Thank you
>> 
>> Kind regards,
>> 
>> Laurent
>> 
>> 
>> 
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> https://lists.opencms.org/mailman/listinfo/opencms-dev
>> 
>> 
>> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20220601/933e9623/attachment.htm>


More information about the opencms-dev mailing list