add toolbar control content and meta control to codesample.md

This commit is contained in:
r12s
2015-11-11 02:07:02 -08:00
parent 4ff2e4a240
commit 09e15ed93c
+3 -2
View File
@@ -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.