add toolbar control content and meta control to codesample.md
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
title: Code Sample Plugin
|
||||
title: Codesample Plugin
|
||||
title_nav: Code Sample
|
||||
description: Insert and embed syntax highlighted code snippets.
|
||||
keywords: syntax, highlight, codesample
|
||||
controls: toolbar button
|
||||
---
|
||||
|
||||
> New in 4.3!
|
||||
|
||||
The Code Sample plugin (`codesample`) lets a user insert and embed code snippets into the editable area. Code snippets will be syntax color highlighted.
|
||||
The Code Sample plugin (`codesample`) lets a user insert and embed code snippets into the editable area. Code snippets will be syntax color highlighted. It also adds a button to the toolbar which on click will open a dialog box to accept raw code input.
|
||||
|
||||
This plugin demonstrates the support for the new block based `contenteditable=false` elements available in version 4.3.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user