The OnTopic.Editor.AspNetCore.Attributes
project provides a standard set of attribute type plugins for the OnTopic Library. The editor is distributed as a Razor Class Library via NuGet so it can easily be added to a website that implements the OnTopic.AspNetCore.Mvc
library. Each plugin represents an individual user interface element for editing a type of attribute, such as a Boolean
or a DateTime
value.
The following attribute types are supported by the OnTopic.Editor.AspNetCore.Attributes
project:
- Boolean: A yes/no choice.
- Date/Time: A date, time, or date-time picker.
- File List: A list of files from the file system.
- File Path: A path relative to the current topic.
- HTML: A WYSIWYG editor for modifying HTML.
- Incoming Relationships: Provides a read-only list of relationships referencing the current topic.
- Instruction: Provides read-only instructional text.
- Last Modified: A timestamp for the current version based on the current date.
- Last Modified By: A byline for the current version based on the current user.
- Nested Topic List: A list of topics embedded within the current topic.
- Number: A numeric value.
- Relationship: A tree of topics that can be selected as related to the current topic.
- Text Area: A multi-line text box.
- Text: A text box.
- Tokenized Topic List: A combo-box which creates relationships with multiple topics.
- Topic List: A list of topics exposed as a drop-down list.
- Topic Reference: A reference to a single topic, exposed as a tokenized topic list.