how to remove formatting and just use plain text

The release related discussions, plans and questions.
Locked
ether_joe
TestLink user
Posts: 7
Joined: Mon Nov 26, 2007 11:34 pm

how to remove formatting and just use plain text

Post by ether_joe »

hey there, I'm new to the forum.

I'm wondering if there is a way to disable the formatting, MSWord-style toolbars above the various input fields.

I only need plain text, and I am hoping without this extra overhead I'll get faster pageloads.


thanks!
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

try this quick & dirty solution:

configure TL_medium tool bar on fckeditor to be empty.

please let me know
ether_joe
TestLink user
Posts: 7
Joined: Mon Nov 26, 2007 11:34 pm

Post by ether_joe »

fman, I'm installing a new TL instance on a local machine and I should have an answer for you in a few hours.
ether_joe
TestLink user
Posts: 7
Joined: Mon Nov 26, 2007 11:34 pm

Post by ether_joe »

replaced the following line in config.inc.php:
$g_fckeditor_toolbar = "TL_Medium_2";

with this:

$g_fckeditor_toolbar = "";


unfortunately - now I'm getting an even bigger-featured MSWord style toolbar. :(

I'm going to investigate further though.
ether_joe
TestLink user
Posts: 7
Joined: Mon Nov 26, 2007 11:34 pm

Post by ether_joe »

okay, I was able to remove the formatting. don't know how much faster pageloads are though. . . a little bit I think.


Here's what I did:

1. go to testlink/third_party/fckeditor/fckconfig.js

2. add the following in the testlink section:
FCKConfig.ToolbarSets["TL_Sparse"] = [] ;

3. edit the following in testlink/config.inc.php:
$g_fckeditor_toolbar = "TL_Sparse";
Locked