Commit Graph

133 Commits

Author SHA1 Message Date
Edoardo Morassutto
a37a73dede
fix: inline math interpreted as attributes (#2645)
When using inline math ($e^{-x^2}$) the curly braces are interpreted as
attributes by markdown-it-attrs. Since most of the times they are not
valid attributes they simply get removed.

This patch escapes the curly braces (the default attribute delimiter),
fixing the KaTeX rendering errors.

It would be nice to simply skip that rule for `katex_inline` block types
but as far as I know markdown-it-attrs doesn't have such an option.

Fixes #1581
2020-11-01 13:00:39 -05:00
James C
5a9df24f04
fix: markdown editor URL autocompletion (#2452)
Fix for #2062. Using token.string only captured the character at the cursor. Now using the cursor location to determine suitable search text. Also corrected syntax issue where suggestion removed opening link parenthesis.
2020-09-19 17:55:38 -04:00
NGPixel
8f6cba262f fix: draw.io svgs are no longer removed with linebreaks (#2415) 2020-09-12 14:05:24 -04:00
NGPixel
be499e5795 fix: auth strategy dependent username label 2020-07-19 13:20:43 -04:00
NGPixel
383dfd3010 feat: edit existing diagram data 2020-07-12 19:32:17 -04:00
NGPixel
f4502ccef7 feat: markdown editor process markers 2020-07-12 19:20:10 -04:00
NGPixel
5f99b30024 feat: code folding + diagram folding 2020-07-12 14:32:53 -04:00
NGPixel
d209a4158f feat: draw.io code insert + preview (wip) 2020-07-12 13:24:25 -04:00
NGPixel
c8608315e9 feat: draw.io editor dialog (wip) 2020-07-10 23:11:53 -04:00
Nicolas Giard
c009cc1392
feat: new login experience (#2139)
* feat: multiple auth instances

* fix: auth setup + strategy initialization

* feat: admin auth - add strategy

* feat: redirect on login - group setting

* feat: oauth2 generic - props definitions

* feat: new login UI (wip)

* feat: new login UI (wip)

* feat: admin security login settings

* feat: tabset editor indicators + print view improvements

* fix: code styling
2020-07-03 19:36:33 -04:00
Regev Brody
41327dd1e8
feat: support MultiMarkdown tables (#2126) 2020-07-03 17:46:07 -04:00
NGPixel
969e7e2fe6 fix: table styles dark mode 2020-06-22 23:56:18 -04:00
NGPixel
abe86928fb feat: markdown spellcheck mode 2020-06-22 18:10:48 -04:00
NGPixel
55bea7d48b fix: enable spellcheck in visual editor 2020-06-22 17:27:42 -04:00
NGPixel
4cb7f33dcf feat: visual editor code + sub/sup + table props 2020-06-21 14:47:11 -04:00
NGPixel
98016d3c42 fix: editor saved state 2020-06-21 01:04:36 -04:00
NGPixel
4855051d87 feat: page published state + comments localization 2020-06-20 22:08:59 -04:00
NGPixel
83b83a7510 feat: page css + scripts 2020-06-20 16:39:36 -04:00
NGPixel
53ddb50b51 feat: save page scripts + styles 2020-06-20 01:11:05 -04:00
NGPixel
718c14dd74 feat: editor props scripts + styles code editor 2020-06-19 21:00:44 -04:00
Regev Brody
e03a80dccc
feat: underline markdown support (#2073)
* fix: no markdown support for underline #2072
2020-06-18 18:37:24 -04:00
NGPixel
a0618ee4f6 feat: comments UI improvements 2020-05-23 18:49:10 -04:00
NGPixel
15a45f8b91 fix: admin UI improvements 2020-05-22 23:29:42 -04:00
Dan Later
2c83e3bd84
fix: CKEditor RTL locale support (#1636) 2020-05-22 13:34:53 -04:00
Louis Meyer
e2935488a3
fix: properly wrap very long words in markdown editor (#1743)
* Fix: Fix word-wrap in markdown editor

Overwrite css-property 'work-break: normal' for '.CodeMirror-wrap
pre.CodeMirror-line', which lead to words not wrapping correctly,
with 'word-break: break-word' to properly wrap words.

* Add rule for 'p.line' under .editor-markdown-preview-content

Add 'overflow-wrap: break-word;' for line in the preview of the markdown editor, so the preview properly wraps and does not overflow.
2020-05-22 13:31:31 -04:00
NGPixel
887e8a0f5a feat: comments disqus + commento 2020-05-21 00:20:57 -04:00
NGPixel
f6bad765a2 feat: assets move + comments migration + admin users UI 2020-05-21 00:20:57 -04:00
NGPixel
7508d92f92 feat: redirect editor UI (wip) 2020-05-10 18:43:45 -04:00
NGPixel
53da387082 feat: plantuml in markdown preview 2020-05-08 22:51:32 -04:00
NGPixel
cc9f022051 fix: nav external blank option 2020-05-08 18:48:07 -04:00
NGPixel
05e8a71cef fix: sanitize markdown preview on content change 2020-05-01 00:55:31 -04:00
NGPixel
fd91565e61 fix: ckeditor - beautify html before saving 2020-04-30 01:21:31 -04:00
NGPixel
a3a1dc1267 fix: ckeditor - extra ) when insert page link 2020-04-26 14:06:17 -04:00
takumi9942
e0a0434622
fix: editor-modal-media action button (#1736) 2020-04-23 19:18:53 -04:00
NGPixel
b2115143e3 feat: visual editor - link to page 2020-04-11 14:51:51 -04:00
NGPixel
76ade8df53 feat: link autocomplete + insert link modal (markdown) 2020-04-11 00:19:23 -04:00
NGPixel
77548c8778 fix: tags input normalization 2020-04-09 21:56:24 -04:00
NGPixel
1d16a3fc71 feat: mermaid support for markdown 2020-03-29 20:54:39 -04:00
NGPixel
44a0f69a78 feat: katex chemical equations support 2020-03-29 17:06:32 -04:00
NGPixel
58b08e54b4 fix: missing footnote module in markdown editor preview 2020-03-28 14:28:08 -04:00
NGPixel
507928730a feat: editor save conflict localization 2020-03-22 18:58:27 -04:00
NGPixel
4b0e3d1c43 feat: save conflict resolution 2020-03-21 19:18:08 -04:00
NGPixel
b529ad21c9 fix: code blocks incorrect escaping + deps update 2020-03-20 23:23:13 -04:00
NGPixel
2810f7b5af feat: use local assets for twemoji 2020-03-15 22:34:42 -04:00
NGPixel
bf9c6dda1c fix: missing code highlighting when toggling markdown preview (#1484) 2020-03-15 19:32:12 -04:00
Sebastien
88f707b7c1
fix: sort assets by ID and desc (#1501)
* sort assets by ID and desc

* Update editor-modal-media.vue
2020-03-15 18:57:18 -04:00
NGPixel
830f51664c feat: katex in markdown preview + xss fix for svg 2020-03-06 14:31:05 -05:00
NGPixel
13a995133b feat: branch off / create from template 2020-03-01 18:25:43 -05:00
NGPixel
a7b2b31314 fix: disable API docs editor for 2.1 2020-02-07 22:39:18 -05:00
NGPixel
f4e3fd0954 feat: tags autocomplete in page properties 2020-02-02 16:24:27 -05:00