changes to the text boxes

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
cmyster
TestLink user
Posts: 7
Joined: Wed Dec 09, 2009 9:33 am

changes to the text boxes

Post by cmyster »

Hi,
I was wondering, did anyone here ever tried to change the text boxes all around TL to use plain text instead of html?

For my use I can do only with plain text for all the descriptions, plans and test cases.
If in any event I will need an html text box I'll make a 2nd description textbox called HTML Description or something like that.

Besides, this way importing-exporting TCs will be much easier and the amount of data on the data base is reduced by ~1/4 when you remove all the html tags.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

I agree. It will be useful if users can select "simple text" option during import. You are welcome to add a request to our tracker.
Anyway HTML editor has the ability put simple text from clipboard.
cmyster
TestLink user
Posts: 7
Joined: Wed Dec 09, 2009 9:33 am

yes you can but

Post by cmyster »

it is still just an html when it is saved. you want to save it as plain text you need to alter the DB.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

on 1.8 and sure on 1.8 you can choose to use NONE as webeditor, then you will not get fancy controls to paly with character fonts, table, etc => if you write plain text this will written as is on DB.
pleas explain why you said is not this way
cmyster
TestLink user
Posts: 7
Joined: Wed Dec 09, 2009 9:33 am

Post by cmyster »

fman, when I paste plain text (from notepad for example) into a test field, it will be pasted as plain text but saves as html. So I can paste:

1. do A
2. do B
c. do C

after loading the test it will look like

1. do A 2. do B 3. do C (same html <br>).

if there is a way to save plain text as plain text in the db as well, please tell me how.
Locked