Is there any way to assign a keyboard shortcut to a particular paragraph format style in the Sharepoint version of the editory (ie in the ListToolsFile.xml or the ListConfigFile.xml?
What I want is for users to be able to apply the "Heading 1" format (ie <h1> </h1>) to an existing line of text in the editor by pressing say ALT+1 (as is often done in MS Word etc). I have the Paragraphs configured in the ListToolsFile and showing in the toolbar with the FormatBlock tool. But cant see a way to assign a shortcut. I have tried this approach, but didnt think it would work,and it didnt:
<paragraphs>
<paragraph name="Clear formatting" value="<body>" />
<paragraph name="<p>Normal</p>" value="<p>" />
<paragraph name="<h2>Heading 2</H2>" value="<h2>" shortcut="ALT+2" />
<paragraph name="<h3>Heading 3</H3>" value="<h3>" shortcut="ALT+3" />
<paragraph name="<h4>Heading 4</H4>" value="<h4>" />
<paragraph name="<h5>Heading 5</H5>" value="<h5>" />
<paragraph name="<ul><li>Bulleted List</li></ul>" value="<ul>" />
<paragraph name="<ol><li>Numbered List</li></ol>" value="<ol>" />
</paragraphs>
Thanks for any help.
Tas :-)
What I want is for users to be able to apply the "Heading 1" format (ie <h1> </h1>) to an existing line of text in the editor by pressing say ALT+1 (as is often done in MS Word etc). I have the Paragraphs configured in the ListToolsFile and showing in the toolbar with the FormatBlock tool. But cant see a way to assign a shortcut. I have tried this approach, but didnt think it would work,and it didnt:
<paragraphs>
<paragraph name="Clear formatting" value="<body>" />
<paragraph name="<p>Normal</p>" value="<p>" />
<paragraph name="<h2>Heading 2</H2>" value="<h2>" shortcut="ALT+2" />
<paragraph name="<h3>Heading 3</H3>" value="<h3>" shortcut="ALT+3" />
<paragraph name="<h4>Heading 4</H4>" value="<h4>" />
<paragraph name="<h5>Heading 5</H5>" value="<h5>" />
<paragraph name="<ul><li>Bulleted List</li></ul>" value="<ul>" />
<paragraph name="<ol><li>Numbered List</li></ol>" value="<ol>" />
</paragraphs>
Thanks for any help.
Tas :-)