Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I use the following Editor Control, with the PrefixStyleSheet "el-" for my custom styles:

<PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" HasInitialFocus="True" MinimumEditHeight="400px" PrefixStyleSheet="el-" runat="server" />

And all my custom Markup Styles are working, like this:

H1.el-Element-h1 {
  -ms-name: "Heading 1";
  border-bottom: 1px solid #AF0917;
  color: #AF0917;
  font-size: 22px;
  font-weight: normal;
  padding-bottom: 3px;
}
...

but the image styles don't work:

.el-rteImage-0 {
  -ms-name:"No Border";
}
.el-rteImage-1 {
  -ms-name:"Border";  
  border: 1px solid #ccc;
  padding: 2px;  
}

What did i wrong?

share|improve this question
    
Ok i have it, sorry ^^. The default Microsoft Share Prefix is "ms-rte", and my is "el-" so instead of .el-rteImage-0 i have to use .el-Image-0 –  Spry Feb 20 '13 at 9:37
    
Write that as an answer to the question, and mark it as the correct answer and you might help others looking for the same thing! –  Benny Skogberg Feb 20 '13 at 10:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.