[opencms-dev] Edit point not visible on some contents
Laurent Druart
druart at ugr.be
Wed Jun 1 17:53:00 CEST 2022
Thanks for this very useful tip.
Kind regards,
Laurent
Le 01-06-22 à 12:50, Alex Kandzior via opencms-dev a écrit :
> 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 - TheOpenCms 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
>>
>>
>>
>
>
> _______________________________________________
> 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/87f2b9f2/attachment.htm>
More information about the opencms-dev
mailing list