rw.addAnchor
Syntax
rw.addAnchor(anchorId);Parameters
Parameter
Type
Description
Basic Example
const transformHook = (rw) => {
const { customId } = rw.props;
if (customId && customId.length > 0) {
rw.addAnchor(customId);
}
};
exports.transformHook = transformHook;Complete Pattern
How It Works
Example with Fallback
Notes
Last updated
Was this helpful?

