API
HTMLView
/**
* Available in v3.6.2
* Open a modal sheet above the main window with the given html code
HTMLView
/**
* Available in v3.6.2
* Open a modal sheet above the main window with the given html code
// Editor | |
@objc protocol EditorJS: JSExport, ParagraphBridgeJS { | |
var note: NoteObject? { get } | |
var content: String? { get set } | |
var title: String? { get } | |
var type: String? { get } | |
var filename: String? { get } | |
var paragraphs: [ParagraphObject] { get set } |
/**
* Note: Available from v3.3.2
* Returns the environment information:
* .languageCode {String?}
* .regionCode {String?}
Clipboard
/**
* Get or set the current text of the clipboard.
* @type {String}
NoteObject
/**
* Returns the relative path of the note (including the folder, like `folder/filename.txt`).
* Can be also used to set the filename and NotePlan will rename it on disc (available from v3.6)
RangeObject
/**
* Character start index of the range.
* @type {Int}
CalendarItem
/**
* The ID of the event or reminder after it has been created by `Calendar.add(calendarItem)`.
* The ID is not set in the original CalendarItem, you need to use the return value of `Calendar.add(calendarItem)` to get it.
Calendar
/**
* Get all available date units: "year", "month", "day", "hour", "minute", "second"
* @type {[String]}
CommandBar
/**
* Get or set the current text input placeholder (what you can read when no input is typed in) of the Command Bar.
* @type {String}