CKEditor inline toolbar position

前端 未结 2 1004
天涯浪人
天涯浪人 2021-02-14 18:49

Simple question : how can I make the inline CKEditor toolbar float top right (or bottom right) of my editable element instead of the default top left position ?

Have bee

2条回答
  •  误落风尘
    2021-02-14 19:35

    we can do it with floatSpacePreferRight config

    only we need to set

    config.floatSpacePreferRight = true;
    

    default value of floatSpacePreferRight is false;

    so with this configuration, we can align inline toolbar position to right

提交回复
热议问题