Commit 7716989a authored by Carsten  Rose's avatar Carsten Rose
Browse files

Mockup erweitert um Beispiel 'codesample' in TinyMCE. Achtung: im Repo fehlen...

Mockup erweitert um Beispiel 'codesample' in TinyMCE. Achtung: im Repo fehlen die Dateien prims.js und prism.css - Die muessten noch kopiert werden (download via 1) /var/www/html/crose/mockup/js/prism.js, 2) /var/www/html/crose/mockup/css/prism.css, 3) /var/www/html/crose/mockup/js/plugins/codesample/css/prism.css
parent 769e7cc9
......@@ -8,6 +8,8 @@
<link rel="stylesheet" href="../css/bootstrap.min.css">
<link rel="stylesheet" href="../css/bootstrap-theme.min.css">
<link rel="stylesheet" href="../css/qfq-bs.css">
<link rel="stylesheet" href="../css/prism.css">
<title>Rich Text Editor Mock</title>
......@@ -91,6 +93,19 @@
<div class="form-group">
<div class="col-md-2">
<label for="text:3" class="control-label">Rich Text Editor (plugin: code-sample)</label>
<div class="col-md-6">
<textarea id="text:4" class="qfq-tinymce" name="rte"
data-config="{ &quot;plugins&quot;: &quot;codesample&quot;, &quot;toolbar&quot;: &quot;codesample&quot;, &quot;auto_focus&quot;: &quot;text:2&quot;, &quot;statusbar&quot;: false }">Input
<button type="submit">Do</button>
......@@ -101,6 +116,8 @@
<script src="../js/EventEmitter.min.js"></script>
<script src="../js/qfq.debug.js"></script>
<script src="../js/tinymce.min.js"></script>
<script src="../js/prism.js"></script>
<script type="text/javascript">
$(function () {
var qfqPage = new QfqNS.QfqPage({
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment