setParagraphAttribute

Sets a paragraph-level attribute for the given key with the specified value. The underlying range is automatically snapped to paragraph boundaries.