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'm able to add a markup style to ribbon by creating a new class like div.ms-rteElement-mkg-div { -ms-name: "New markup"; }

This works well, but what if I want to add a new class, and maybe insert a H4-tag within a span? Like this:
<span class="myclass grid_4"><h4>This was inserted automagically</h4>This is some content</span>

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

You can do this by using the Reusable Content feature in SharePoint Server 2010. Reusable Content is a list with HTML snippets that can be inserted to Site Pages.

share|improve this answer
    
The user must be able to insert and edit both the title and the content, is this still possible with reusable content? –  eirikb Aug 2 '10 at 13:26
    
You can use any kind of HTML snippet as reusable comment, and yes it can all be edited –  Wictor Wilen MCA MCM MVP Aug 3 '10 at 5:36
    
Yeah I just misunderstood the option when creating the reusable content. Thought I could choose the ability to update it globally or not. This works perfectly, now I just need to find a way to deploy it. Thanks! –  eirikb Aug 3 '10 at 5:44
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.