Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 3.23 KB

File metadata and controls

26 lines (24 loc) · 3.23 KB

OnTopic Editor Attribute Types

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.

OnTopic.Editor.AspNetCore.Attributes package in Internal feed in Azure Artifacts Build Status NuGet Deployment Status

Attribute Types

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.