Hi,
We use TestLink in version 1.9.8 (Lobizon). When creating test cases and steps, the editor that is used for Create Test Case > Summary and Precondition fields has more options than the editor that is used in Create Step > Step actions / Expected results. For instance, in test cases you can use background color formatting, and in the test steps you can not.
If we remember right, the formatting options were the same for test cases and steps until version 1.9.6.
Is this a matter of configuration? Can we switch button bars on / off?
In the steps, we would like to use the same formatting options as in the test case itself, if this is possible.
Thanks for your help.
Regards,
Evelin
[SOLVED]Different formatting options in test cases and steps
Moderators: Amaradana, TurboPT, TL Developers
Re: Different formatting options in test cases and steps
Toolbar definition is present on [TL INSTALL DIR]/cfg/tl_ckeditor_config.js.
Then on config.inc.php
$tlCfg->gui->text_editor = array();
$tlCfg->gui->text_editor['all'] = array('type' => 'ckeditor','toolbar' => 'Testlink'',
'configFile' => 'cfg/tl_ckeditor_config.js',
'height' => 150);
// mini toolbar for test case steps edit
$tlCfg->gui->text_editor['steps_design'] = array('type' => 'ckeditor','toolbar' => 'TestlinkMini',
'configFile' => 'cfg/tl_ckeditor_config.js',
'height' => 100);
$tlCfg->gui->text_editor['execution'] = array( 'type' => 'none');
Then on config.inc.php
$tlCfg->gui->text_editor = array();
$tlCfg->gui->text_editor['all'] = array('type' => 'ckeditor','toolbar' => 'Testlink'',
'configFile' => 'cfg/tl_ckeditor_config.js',
'height' => 150);
// mini toolbar for test case steps edit
$tlCfg->gui->text_editor['steps_design'] = array('type' => 'ckeditor','toolbar' => 'TestlinkMini',
'configFile' => 'cfg/tl_ckeditor_config.js',
'height' => 100);
$tlCfg->gui->text_editor['execution'] = array( 'type' => 'none');
Re: Different formatting options in test cases and steps
Thanks a lot, that's exactly what we were looking for.
Re: [SOLVED]Different formatting options in test cases and s
I know this is an old post but I just want to add that there is also the "full" option in ckeditor which will give you more options than you ever thought possible. Just substitute "Full" as in "toolbar" => "Full"
Works like a charm.
Works like a charm.