adding initial rich editor code
This commit is contained in:
parent
da2623bea4
commit
923e99ccf2
5 changed files with 424 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ my @newAssetList;
|
|||
foreach my $asset (@{$newConfig{assets}}) {
|
||||
push(@newAssetList, $asset) unless ($asset eq "WebGUI::Asset::Template");
|
||||
}
|
||||
$newConfig{utilityAssets} = ["WebGUI::Asset::Template"];
|
||||
$newConfig{utilityAssets} = ["WebGUI::Asset::Template","WebGUI::Asset::RichEdit"];
|
||||
$newConfig{assets} = \@newAssetList;
|
||||
$newConfig{shippingPlugins} = ['ByPrice', 'ByWeight', 'PerTransaction'];
|
||||
|
||||
|
|
|
|||
|
|
@ -48,4 +48,24 @@ alter table transaction add column shippingMethod varchar(15);
|
|||
alter table transaction add column shippingOptions text;
|
||||
alter table transaction add column shippingStatus varchar(15) default 'NotShipped';
|
||||
alter table transaction add column trackingNumber varchar(255);
|
||||
|
||||
create table RichEdit (
|
||||
assetId varchar(22) not null primary key,
|
||||
templateId varchar(22) not null default 'PBtmpl0000000000000180',
|
||||
askAboutRichEdit int not null default 0,
|
||||
preformated int not null default 0,
|
||||
editorWidth int not null default 0,
|
||||
editorHeight int not null default 0,
|
||||
sourceEditorWidth int not null default 0,
|
||||
sourceEditorHeight int not null default 0,
|
||||
useBr int not null default 0,
|
||||
convertNewLinesToBr int not null default 0,
|
||||
removeLineBreaks int not null default 0,
|
||||
npwrap int not null default 0,
|
||||
directionality varchar(3) not null default 'ltr',
|
||||
toolbarLocation varchar(6) not null default 'bottom',
|
||||
cssFile varchar(255),
|
||||
toolbarRow1 text,
|
||||
toolbarRow2 text,
|
||||
toolbarRow3 text,
|
||||
enableContextMenu int not null default 0
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue