Oktatás
Modul
Work with Power Pages metadata - Training
Explore Power Pages metadata components and learn how to use the Portal Management app for setting up unique website features.
Ezt a böngészőt már nem támogatjuk.
Frissítsen a Microsoft Edge-re, hogy kihasználhassa a legújabb funkciókat, a biztonsági frissítéseket és a technikai támogatást.
In the OneNote add-ins JavaScript API, page content is represented by the following object model.
To create an empty OneNote page, use one of the following methods.
Then use methods in the following objects to work with the page content, such as Page.addOutline
and Outline.appendHtml
.
The content and structure of a OneNote page are represented by HTML. Only a subset of HTML is supported for creating or updating page content, as described below.
The OneNote add-in JavaScript API supports the following HTML for creating and updating page content.
<html>
, <body>
, <div>
, <span>
, <br/>
<p>
<img>
<a>
<ul>
, <ol>
, <li>
<table>
, <tr>
, <td>
<h1>
... <h6>
<b>
, <em>
, <strong>
, <i>
, <u>
, <del>
, <sup>
, <sub>
, <cite>
Megjegyzés
Importing HTML into OneNote consolidates whitespace. The resulting content is pasted into one outline.
OneNote does its best to translate HTML into page content while ensuring security for users. HTML and CSS standards do not exactly match OneNote's content model, so there will be differences in appearances, particularly with CSS stylings. We recommend using the JavaScript objects if specific formatting is needed.
You are only able to access Page Content via Page#load
for the currently
active page. To change the active page, invoke navigateToPage($page)
.
Metadata such as title can still be queried for any page.
Office Add-ins-visszajelzés
A(z) Office Add-ins egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást:
Oktatás
Modul
Work with Power Pages metadata - Training
Explore Power Pages metadata components and learn how to use the Portal Management app for setting up unique website features.