Commit Graph

141 Commits

Author SHA1 Message Date
Boris
54dbf9ad00
feat: add asciidoc editor module (#5954)
* feat: add asciidoc editor module

* fix storage file extension for asciidoc pages

* fix: asciidoc editor + rendering improvements

* fix: description list css improvements

Co-authored-by: NGPixel <github@ngpixel.com>
2022-12-23 20:19:16 -05:00
cannorin
db2ad81a1f
feat: katex persistent macro support (#5838)
Co-authored-by: cannorin <cannorin@users.noreply.github.com>
2022-11-13 01:43:48 -05:00
NGPixel
9fbc25adb8
feat: improve table rendering + add markdown-it-decorate module 2022-11-08 22:40:43 -05:00
NGPixel
afafb4f4e0
fix: md task list - use same config as client 2022-02-12 17:28:34 -05:00
NGPixel
a04f7bd650
fix: force uploads to use auth headers instead of cookie 2022-01-22 19:52:59 -05:00
NGPixel
0d7d95d2ac
fix: markdown checkbox rendering with links 2021-12-08 23:56:24 -05:00
broxen
813df21020
fix: prevent malformed paths for pages (#4533)
* First take on removing erroneous path characters

Paths should not accept trailing slashes or hashtags. This is a first attempt at nullifying those.

* Use rules to verify path before acceptance

Use Regex and rules to verify paths before acceptance

* Rules to prevent any leading or trailing slashes

* Complex slug for regex on path, but it elminates special chars

* Added yarn.lock to .gitignore

* Maybe we do want yarn.lock afterall

* Adding yarn.lock

* Move Regex pattern outside of export
2021-10-10 14:56:20 -04:00
NGPixel
84b927915e fix: convert page - task list + UI fixes 2021-04-02 15:15:35 -04:00
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