WebKit2.EditorState.prototype.get_typing_attributes

function get_typing_attributes(): Number(guint) {
    // Gjs wrapper for webkit_editor_state_get_typing_attributes()
}
  

Gets the typing attributes at the current cursor position. If there is a selection, this returns the typing attributes of the the selected text. Note that in case of a selection, typing attributes are considered active only when they are present throughout the selection.

Since 2.10

Returns

a bitmask of WebKit2.EditorTypingAttributes flags