Use the CodeMirror editor in the slide application

This commit is contained in:
Yann Flory
2016-09-30 17:39:16 +02:00
parent b5b0eacebc
commit 2609af2105
61 changed files with 3553 additions and 426 deletions

View File

@@ -69,5 +69,20 @@ define(['/customize/languageSelector.js',
'*/'
].join('');
messages.slideInitialState = [
'# CryptSlide\n',
'* This is a zero knowledge realtime collaborative editor.\n',
'* What you type here is encrypted so only people who have the link can access it.\n',
'* Even the server cannot see what you type.\n',
'* What you see here, what you hear here, when you leave here, let it stay here.\n',
'\n',
'---',
'\n',
'# How to use\n',
'1. Write your slides content using the markdown syntax\n',
'2. Separate your slides with ---\n',
'3. Click on the "Play" button to see the result'
].join('');
return messages;
});