Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Missing formatting options in Edit mode

Vote:
 

Hi,

I'm working on migrating our site to EPiServer 5 CMS R2. Post migration, in Edit Mode, the formatting options dropdown is showing only one item ("Remove Formatting"). There are no other options.

I did fill in a value for uiEditorCssPaths and the css file is downloadable from browser. However, in edit mode, i can only see "Remove Formatting" option in dropdown.

I came across this forum discussion : http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=25938 . I tried the options but no luck.

Can anyone help resolving this issue.

#54667
Oct 26, 2011 15:53
Vote:
 

How does your editor stylesheet look?

Frederik

#54687
Oct 28, 2011 9:58
Vote:
 

Hi Frederik,

Sorry for the late reply,as I was away from work. Are you referring to the css files that are being referred in edit mode.

The editor stylesheet point to the following css files:

/App_Themes/Default/Styles/system.css,

/App_Themes/Default/Styles/Toolbutton.css

The editor text box points to the path: "/util/editor/emptyeditor.aspx?uieditorcsspaths=%2fstyles/%2feditor.css"

The sitesettings entry for uiEditorCSSPaths in web.config point to "~/Styles/editor.css"

Please let me know if I am missing any configuration.

 

#54803
Nov 03, 2011 13:49
Vote:
 

How does editor.css look?

 

Frederik

#54804
Nov 03, 2011 14:08
Vote:
 

Hi Frederik,

Thanks for the immediate reply.

I have copied the entire css below. This is downloadable via browser. I picked this up from EPiServer folder that is installed in my machine.

<episerver installation drive>\EPiServer\CMS\5.2.375.7\Application\util\styles\editor.css

Kindly let me know if the CSS is incorrect.

html, body
{
 height: 100%;
 margin: 0;
 padding: 0;
}
body
{
 margin: 0em 2px 0em 2px;
}
A
{
 background-color: Yellow;
}

Q
{
 background-color: #c5d2fb;
}

TABLE.borderless
{
 border-collapse: separate;
 border-style: solid;
 border-width: 1px;
 border-color: Silver; 
}

TABLE.selectable
{
 border-collapse: separate;
 border-style: solid;
 border-width: 1px;
 border-color: Silver; 
}

/* TD classes */
TD.selectable
{
}

TABLE.selectable TD.selected, TABLE.borderless TD.selected
{
 color: White;
 background-color: #6666aa;
}

TABLE.selectable TD.borderless, TABLE.borderless TD.borderless
{
 border-style: solid;
 border-width: 1px;
 border-color: Silver;
}

TABLE.selectable TD.rowheader, TABLE.borderless TD.rowheader
{
 border-right: 2px solid #0077cc;
}

TABLE.selectable TD.colheader, TABLE.borderless TD.colheader
{
 border-bottom: 2px solid #0077cc;
}

/* TH classes */
TH
{
 border-style: solid;
 border-width: 1px;
 border-color: #0077cc;
}
TH.selectable
{
}

TABLE.selectable TH.selected, TABLE.borderless TH.selected
{
 color: White;
 background-color: #6666aa;
}

TABLE.selectable TH.rowheader, TABLE.borderless TH.rowheader
{
 border-right: 2px solid #0077cc;
}

TABLE.selectable TH.colheader, TABLE.borderless TH.colheader
{
 border-bottom: 2px solid #0077cc;
}

TABLE.selectable TH.borderless, TABLE.borderless TH.borderless
{
}

CAPTION
{
 border-style: dotted;
 border-width: 1px;
 border-color: #6666aa;
}

IMG.selected
{
 border: 1px dashed highlight;
}

BODY.editmode
{
 text-align: left;
 padding-left: 3px;
}

.dynamiccontent
{
 font-family: Tahoma, MS Sans Serif, Arial, Geneva, Helvetica;
 font-size: 12px;
 border: 1px solid #333333;
 background-color: #F8EDA4;
 padding: 3px;
}

#54808
Nov 03, 2011 15:10
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.