[phpBB Debug] PHP Warning: in file [ROOT]/ext/kinerity/bestanswer/event/main_listener.php on line 514: Undefined array key "poster_answers"
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
CAD Forum • Text Formatting
Page 1 of 1

Text Formatting

Posted: Thu Apr 08, 2021 3:17 pm
by matt
Ok, two new functions.

Indent - indents a single row of text. Use the "indent" button at the top of the editor. Put the number of pixels you want to indent between the tags, and the text you want to indent by those pixels after the tags. So:

Code: Select all

[indent]20[/indent]This is the text I want to indent
gives you this

This is the text I want to indent



And next, super script, use the "sup" button at the top of the editor. Put the superscript characters between the tags. So:

Code: Select all

W[sup]5[/sup]H
gives you this

W5H


And to indent that by 100 pixels,

W5H

This is for @Zhen-Wei Tee and @jcapriotti respectively.

Re: Text Formatting

Posted: Thu Apr 08, 2021 4:12 pm
by mike miller
matt wrote: Thu Apr 08, 2021 3:17 pm Ok, two new functions.

Indent - indents a single row of text. Use the "indent" button at the top of the editor. Put the number of pixels you want to indent between the tags, and the text you want to indent by those pixels after the tags. So:

Code: Select all

[indent]20[/indent]This is the text I want to indent
gives you this

This is the text I want to indent



And next, super script, use the "sup" button at the top of the editor. Put the superscript characters between the tags. So:

Code: Select all

W[sup]5[/sup]H
gives you this

W5H


And to indent that by 100 pixels,

W5H

This is for @Zhen-Wei Tee and @jcapriotti respectively.
Wow! You da man!! oa

Development has two steps here:
Ask Matt.
Use it.



(Definitely better than Swym's 6 abysmal steps of doom....)

Re: Text Formatting

Posted: Fri Apr 09, 2021 9:01 am
by zwei
Thanks @matt
Although the indent did not work like how i expected but it is better than nothing.

Some other suggestion on the UI
→ Move the superscript out of SARC and USARC... it feel weird to be there
→ Move the strikethrough beside U, as this will make it just like Microsoft word
→ Is it possible to change the icon/symbol? If yes
→ Change the S to S for strikethrough
→ Change the SUP to x2 for superscript
→ Change the font color icon to a more obvious icon, eg: color palette
image.png
image.png (9.4 KiB) Viewed 2309 times

Re: Text Formatting

Posted: Fri Apr 09, 2021 9:39 am
by Merovingien
in "quick reply" is it possible to have :
B
I
U

to avoid go to full editor.