Commit graph

117 commits

Author SHA1 Message Date
ansuz
44f5aee4ac Dependency management:
move (most) third-party dependencies from www/common/ => www/lib/

* unify less.js files by standardizing on our slightly modified version
* update textFit.js to the latest version
* describe exact versions of files where known, otherwise link to their project sites
2021-08-11 15:07:38 +05:30
ansuz
96eb5f614e fix docs link for remote content
and localize it
2021-07-07 14:03:54 +05:30
ansuz
f652d11ace don't show the 'remote image warning' for data URLs in markdown 2021-07-06 14:02:29 +05:30
ansuz
575269e5a1 use a standard function for creating basic media-tags 2021-07-01 13:18:08 +05:30
ansuz
f2f9ace7c6 fix rendering issue with markdown media-tag format 2021-06-30 18:57:27 +05:30
ansuz
caa69e73ca Merge branch 'dapsi' into staging 2021-06-30 16:04:35 +05:30
ansuz
fe4b85c98b remove hardcoded translations for blocked images 2021-06-29 15:55:59 +05:30
ansuz
0b8239241b integrate styles for remote images 2021-06-25 12:23:46 +05:30
ansuz
ef885eed5c leave notes for finalizing remote image warning 2021-06-25 11:51:18 +05:30
ansuz
a86422266e good contrast for most of the remote image warning 2021-06-24 17:56:58 +05:30
ansuz
4dcbddd174 WIP remote image styles 2021-06-24 17:33:45 +05:30
yflory
89844455bb Merge branch 'staging' into dapsi 2021-06-24 11:46:31 +02:00
ansuz
e5c8b6fd75 WIP block remote images 2021-06-24 15:08:09 +05:30
ansuz
90bfc97ecc Merge branch 'staging' into md-inline-img 2021-06-24 12:18:35 +05:30
ansuz
c4aeddeee5 bugfixes for the less cache 2021-06-24 11:48:55 +05:30
ansuz
761e27cac7 WIP: transform inline css into less and scope it to the preview pane 2021-06-23 16:19:48 +05:30
ansuz
94abd631a2 prototype suppression of markdown images 2021-06-23 09:33:39 +05:30
ansuz
6ddcbb948e guard against markdown images with double-quotes in their href 2021-06-23 09:32:58 +05:30
yflory
a4bd4e2784 Support Markdown import/export in Rich text pads 2021-06-22 12:04:56 +02:00
yflory
280e96287b Fix context menu for markdown extensions and add download 2021-04-30 16:56:35 +02:00
yflory
b1cab1df98 Move diffDOM 2021-04-27 15:53:39 +02:00
yflory
d571822adf Fix mermaid dark/light themes 2021-02-09 17:44:38 +01:00
yflory
d72e7cf8c2 Fix codemirror dracula 2021-02-09 13:32:09 +01:00
yflory
1542ca4878 Highlight.js dark theme 2021-02-09 10:29:39 +01:00
yflory
37beedbe96 Mermaid dark theme 2021-02-03 12:35:57 +01:00
yflory
c29219c969 Fix restrictedTags regex 2020-12-08 13:41:29 +01:00
yflory
69664dc0ef Only allow blob URLs in restricted tags 2020-12-07 11:26:08 +01:00
yflory
656c81b437 Fix duplicate mediatags issues in code and slide 2020-12-02 17:01:43 +01:00
yflory
004c242f63 Fix duplicate mediatag issues 2020-11-30 17:19:13 +01:00
yflory
396eb4d263 Stop autodownloading big mediatags 2020-11-24 16:38:31 +01:00
yflory
8fcc119b91 Add support for Rust syntax highlighting 2020-09-17 17:48:02 +02:00
ansuz
2b8540552c don't open the lightbox in code preview when you ctrl-click 2020-07-15 12:05:36 -04:00
ansuz
6a1844cac7 avoid passing whitespace to markmap or mathjax 2020-07-08 13:37:30 -04:00
ansuz
59185d7088 improve caching logic for markdown extensions
support duplicated items with the same source
2020-07-06 15:26:41 -04:00
ansuz
b5a18e8e09 force redraw for asynchronously rendered plugin content 2020-07-03 17:38:00 -04:00
ansuz
f7529d2908 address some race conditions when rendering multiple elements 2020-07-03 15:35:49 -04:00
ansuz
a528d857a7 lazily load assets for mermaid, mathjax, and markmap 2020-07-03 15:04:34 -04:00
yflory
81cb7d2bb3 lint compliance 2020-07-02 16:06:20 +02:00
yflory
bacd0c18d5 Make mathjax and markmap non-blocking 2020-07-02 15:30:03 +02:00
yflory
93ce3f5a83 Deduplicate code and fix preview modal 2020-07-02 15:04:54 +02:00
Ludovic Dubost
592b32ed23 Added support for markmap - adding mindmaps in code pad 2020-06-29 09:54:20 +02:00
Ludovic Dubost
56473930cd Adding mathjax svg rendering in code pad 2020-06-27 14:40:15 +02:00
ansuz
ddd12bfd7a remove grey style from mermaid flowcharts 2020-04-30 16:48:49 -04:00
yflory
440980c4af Display preview with a single click 2020-04-21 16:40:19 +02:00
yflory
ca9f874afb Redraw mermaid on preview 2020-04-20 11:09:46 +02:00
yflory
1dee2fd13c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2020-04-15 16:07:29 +02:00
yflory
f83179cb62 Fix mediatag cache preventing preview modal 2020-04-15 16:07:18 +02:00
ansuz
9a7681dc5d add a note about handling syntax errors in mermaid 2020-04-14 15:18:20 -04:00
ansuz
ca2dc85b34 reduce eye-bleed with gentler styles for mermaid charts 2020-04-14 15:17:41 -04:00
yflory
9da47ebac9 lint compliance 2020-04-06 13:22:22 +02:00