New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bn-wysiwyg

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bn-wysiwyg

This project allows to add a What You See Is What You Get editor to any angular application.

  • 0.1.5
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

bn-wysiwyg

This Blognode project allows to add a What You See Is What You Get editor to any angular application.

Installation

npm install bn-wysiwyg --save

Add it to your main app module:

import { BnWysiwyg } from 'bn-wysiwyg';

@NgModule({
  imports: [BnWysiwyg]
})

And use it in your Application:

<bn-wysiwyg></bn-wysiwyg>

Configuration

The configuration is based on attributes and tags you can add to your project to change the behavior.

Non inline browser

By default the Wysiwyg editor is an inline editor. If you like to use an editor panel instead you need to disable the inline mode. Afterwards you can place the editor component anywhere on the page.

<bn-wysiwyg [inline]="false"></bn-wysiwyg>
<!-- anywhere else -->
<bn-editor></bn-editor>

Asigned editor panel

The editor panel is assigned to all <bn-wysiwyg> on the page. To assign it to a specific one, you need to assign it via the for attribute. It accepts any valid query selector.

<bn-wysiwyg class="example" [inline]="false"></bn-wysiwyg>
<!-- anywhere else -->
<bn-editor for=".example"></bn-editor>

FAQs

Package last updated on 05 Apr 2017

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