Update ACE Editor to version 1.2.9
The new ACE editor introduces full support for emojis (and, thereby, UTF-16 characters with high- and low-surrogates). Hence, we can remove our custom fix. Further, this update will allow emojis to be used in pair programming sessions.
This commit is contained in:
29
vendor/assets/javascripts/ace/snippets/rst.js
vendored
Normal file
29
vendor/assets/javascripts/ace/snippets/rst.js
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# rst\n\
|
||||
\n\
|
||||
snippet :\n\
|
||||
:${1:field name}: ${2:field body}\n\
|
||||
snippet *\n\
|
||||
*${1:Emphasis}*\n\
|
||||
snippet **\n\
|
||||
**${1:Strong emphasis}**\n\
|
||||
snippet _\n\
|
||||
\\`${1:hyperlink-name}\\`_\n\
|
||||
.. _\\`$1\\`: ${2:link-block}\n\
|
||||
snippet =\n\
|
||||
${1:Title}\n\
|
||||
=====${2:=}\n\
|
||||
${3}\n\
|
||||
snippet -\n\
|
||||
${1:Title}\n\
|
||||
-----${2:-}\n\
|
||||
${3}\n\
|
||||
snippet cont:\n\
|
||||
.. contents::\n\
|
||||
\n\
|
||||
";
|
||||
exports.scope = "rst";
|
||||
|
||||
});
|
Reference in New Issue
Block a user