mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Remove errant console.log
This commit is contained in:
parent
dc6064b567
commit
ab5267ab87
1 changed files with 0 additions and 1 deletions
|
@ -298,7 +298,6 @@ export default function (editor, koenig) {
|
||||||
function matchSub(editor, text) {
|
function matchSub(editor, text) {
|
||||||
let {range} = editor;
|
let {range} = editor;
|
||||||
let matches = text.match(/(^|[^~])~([^\s~]+|[^\s~][^~]*[^\s])~/);
|
let matches = text.match(/(^|[^~])~([^\s~]+|[^\s~][^~]*[^\s])~/);
|
||||||
console.log(matches);
|
|
||||||
if (matches) {
|
if (matches) {
|
||||||
let match = matches[0].trim();
|
let match = matches[0].trim();
|
||||||
range = range.extend(-(match.length - matches[1].trim().length));
|
range = range.extend(-(match.length - matches[1].trim().length));
|
||||||
|
|
Loading…
Add table
Reference in a new issue