• Hello,

    I am using the classic editor in raw HTML code mode, now I can use the Tab char but I cant find a way to change its size. current is 8, but I want to change it to 4.

    Thanks.

    • This topic was modified 1 year, 12 months ago by tonygao.
Viewing 3 replies - 1 through 3 (of 3 total)
  • As far as I can see, there is no way to influence the font size in the Classic Editor, even in Visual Mode. If you want to do that in Text Mode, you could use HTML and CSS there. Example:

    <span style="font-size: 16px">My text</span>

    This will set the text to 16 pixel size. You can find more information about HTML and CSS on many sites, e.g. https://developer.mozilla.org/en-US/docs/Web.

    I’m unsure what you mean by “8” and “4” – in pixels this is extremely small and virtually unreadable.

    Thread Starter tonygao

    (@tonygao)

    Very sorry. I mean when I press the “Tab” key on keyboard, it will be displayed as 8 spaces chars in classic editor HTML code mode but I want to make it display as 4 space chars. I can’t find a way to change that.

    • This reply was modified 1 year, 12 months ago by tonygao.

    Web browsers cannot (usually) display tabs. Entering them is also difficult, even in the Classic Editor. When I press Tab I end up with the selector in another field and leave the editor.

    If you want to output something like tabs, you have to use HTML special chars or CSS here is an article about it: https://www.geeksforgeeks.org/how-to-insert-spaces-tabs-in-text-using-html-css/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to ser Tab char size in editor’ is closed to new replies.