Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@covalent/highlight

Package Overview
Dependencies
Maintainers
0
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@covalent/highlight

Teradata UI Platform Highlight Module

  • 8.23.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

TdTextEditorComponent: td-text-editor

<td-text-editor> element generates an easymde markdown editor.

API Summary

Inputs
  • value?: string
    • value of text in editor
  • options?: object
    • Options Object of valid Configurations listed here: https://github.com/Ionaru/easy-markdown-editor#configuration
Properties
  • isPreviewActive?: function()
    • is the Preview Active. Returns boolean
  • isSideBySideActive?: function()
    • is the Side By Side Active. Returns boolean
  • isFullscreenActive?: function()
    • is Full Screen Active. Returns boolean
  • clearAutosavedValue?: function()
    • clears Auto Saved Value. Returns void
  • toTextArea?: function()
    • reverts to the Initial textarea. Returns void
  • easyMDE?: function()
    • getter function for the underlying easyMDE Object. Returns EasyMDE

Installation

This component can be installed as npm package.

npm install @covalent/text-editor

Setup

Import the CovalentTextEditorModule in your NgModule:

import { CovalentTextEditorModule } from '@covalent/text-editor';
@NgModule({
  imports: [
    CovalentTextEditorModule,
    ...
  ],
  ...
})
export class MyModule {}

Usage

<td-text-editor [value]="Some Text" [options]="options"></td-text-editor>
class MyComponent {
  options: any = {
    lineWrapping: true,
    toolbar: false,
    ...
  };
}

Keywords

FAQs

Package last updated on 18 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc