Commit Graph

134 Commits

Author SHA1 Message Date
yflory
7150a92728 Disable srcdoc attribute in iframe 2026-02-05 17:21:40 +01:00
yflory
af522fd0fe Lucide icons with MutationObserver 2025-10-01 16:38:53 +02:00
daria
68e9199f39
update file location 2025-09-30 17:42:11 +03:00
daria
1eefbe415b
render icons on code preview 2025-08-29 18:06:31 +03:00
daria
271cf2a880
update icons 2025-08-19 11:36:24 +03:00
David Benque
8f0a6319a5 Apply headers 2023-10-20 15:35:26 +01:00
yflory
0d286160de Fix Mermaid diagrams merged together #1244 2023-09-25 14:55:21 +02:00
Wolfgang Ginolas
737e3ee6ff Add zenuml support to mermaid
https://github.com/cryptpad/cryptpad/issues/1132
2023-07-27 08:39:57 +02:00
yflory
1c8fb8077a Upgrade mermaid to 10.2.4 #1118 2023-07-11 11:34:33 +02:00
yflory
2c50fcf8c4 Update Marked and jszip 2023-05-02 14:59:17 +02:00
Pamplemousse
99b741ba6b removing bower: migrate mathjax
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:42 +01:00
Pamplemousse
83d1780c32 removing bower: migrate marked
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 13:50:40 +01:00
Pamplemousse
325154e956 removing bower: migrate tweetnacl
Signed-off-by: Pamplemousse <git@xaviermaso.com>
2023-01-07 08:08:16 +01:00
ansuz
085791d389 replace all mentions of docs.cryptpad.fr with docs.cryptpad.org 2022-09-09 17:27:09 +05:30
ansuz
86e76bdbd7 update mermaid to 9.0.0 and enable gitGraph diagrams 2022-04-11 12:10:57 +05:30
ansuz
b9116a7a67 remove dead code 2021-12-15 13:05:55 +05:30
ansuz
f870b87214 upgrade mermaid to 8.13.4 2021-11-19 17:30:51 +05:30
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