jodit icon indicating copy to clipboard operation
jodit copied to clipboard

Customizing font size and font family buttons to display selected size and font family

Open kozlyakovskaya-tatsiana opened this issue 9 months ago • 1 comments

How to customize font size and font family buttons to display selected size and font family as it implemented in demo for pro version? Or is it available only in Pro mode? Instead of image

I'd like to display image

kozlyakovskaya-tatsiana avatar Apr 25 '24 12:04 kozlyakovskaya-tatsiana

Hi, it just component option:

Jodit.make('#editor', {
        controls: {
             font: {
                component: 'select'			
            }
      }
});

xdan avatar May 11 '24 20:05 xdan

It works!) Thanks you so much for bringing your attention to that.

kozlyakovskaya-tatsiana avatar May 15 '24 07:05 kozlyakovskaya-tatsiana

Closed

kozlyakovskaya-tatsiana avatar May 15 '24 07:05 kozlyakovskaya-tatsiana