1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 06:39:43 +02:00
Commit graph

69 commits

Author SHA1 Message Date
HarveyKandola
df8f650319 Support VB.NET for code syntax highlighting 2021-08-18 19:41:19 -04:00
Harvey Kandola
972413110f
Merge pull request #377 from Ma27/preview-button-toggle
gui/editors: toggle Preview/Edit button
2020-11-12 18:57:42 +00:00
HarveyKandola
30d12ba756 Updated Draw.io integration 2020-11-09 11:01:09 -05:00
Maximilian Bosch
9ed8f79315
gui/editors: toggle Preview/Edit button
When hitting "Preview" on a previewable section (e.g. one with
markdown), the tooltip and icon of the preview-button still show
"Preview". With this change, both the text and the button will be
switched accordingly.
2020-10-31 21:18:20 +01:00
sauls8t
1a89201bd9 Provide generic IFrame section for documents
Closes #352
2019-12-09 12:31:44 +00:00
HarveyKandola
2b3e9dfbc9 Stop TinyMCE dialogs from scrolling background 2019-12-06 15:11:16 +00:00
HarveyKandola
1c1ebee15a Upgrade TinyMCE to 5.1.3 2019-12-06 15:10:50 +00:00
HarveyKandola
5aaa9f874d Hide PlantUML sample diagrams when you have content
Closes #346
2019-12-06 10:13:15 +00:00
HarveyKandola
a64a219ce8 Remove obsolete anchor plugin 2019-10-26 16:55:54 +01:00
McMatts
39f457e90e Upgrade TinyMCE to v5.1.0
Introduces new sticky toolbar option!
2019-10-21 10:54:01 +01:00
sauls8t
6b723568d3 Provide Bash/Shell code syntax in Rich Text Editor
Closes #322
2019-09-18 11:25:21 +01:00
sauls8t
e219c97a6b Enbale browser context menu for TinyMCE 2019-08-05 13:29:08 -04:00
Maximilian Bosch
444b4fd1f7
Render HTML in Markdown during previews as well
When having e.g. a markdown-based section in a document where you
reference another document, a HTML-link is generated. However when
previewing changes, the raw HTML is shown.

With setting `html: true` in the configuration for `markdownit`[1],
HTML is detected and properly parsed (Also markup tags such as `<h1>`
are rendered properly just like when using `blackfriday` to request a rendered
section).

Regarding probably harmful side-effects: setting e.g. `<style>* { display:
none !important; }</style>` causes a white page with `markdownit` as
well as with `blackfriday`. `<script>` tags aren't affected since
`handlebars` mostly breaks with `<script>` tags within variables that
are substituted using `{{{var}}}` into the DOM[3].

Please note that I didn't commit the modifications in `embed/bindata.go`
as it seemed to me after looking at the history that those updates are
only done when preparing a release.

[1] 1ad3aec204/lib/presets/default.js (L6-L9)
[2] https://github.com/documize/blackfriday/blob/master/markdown.go#L105-L146
[3] https://github.com/wycats/handlebars.js/issues/531
2019-08-01 21:02:35 +02:00
Harvey Kandola
479508e436 Upgrade UI framework to Ember v3.10.0 2019-05-16 12:49:27 +01:00
Harvey Kandola
1c45aef461 Fix TinyMCE toolbar 2019-05-16 11:14:34 +01:00
sauls8t
faf9a555d2 Upgrade to Tiny editor v5 2019-05-13 12:47:38 +01:00
Harvey Kandola
b5cd378302 Complete PDF section type 2019-04-19 11:30:40 +01:00
Harvey Kandola
7fde947a52 Enable PDF section editor 2019-04-18 15:42:18 +01:00
Harvey Kandola
61d0086337 Provide per section attachments
Upload and delete attachments on a per section basis.
2019-04-18 13:31:48 +01:00
Harvey Kandola
166aeba09b [WIP] PDF viewer section & per section attachments 2019-04-17 17:13:18 +01:00
Harvey Kandola
566807bc14 Replaced underscore.js & is.js with lodash.js 2019-03-03 13:10:04 +00:00
Harvey Kandola
25c247e99b Introduce new Tabular editor with CSV import support
Closes #211 and #202

An all-new tabular editor has been added -- this replaces the previous tabular editor.

Better formatting options.

CSV data can also be imported straight into the table.
2019-03-01 14:28:18 +00:00
Harvey Kandola
ed99b0c9f3 JS linting 2019-03-01 14:25:32 +00:00
Harvey Kandola
9b06ddecb5 Refactor content linking code flow
Fixed EmberJS deprecation warnings by removing usage of observers.

Fixed edge case bug for repeated content link insertion modal clicks.
2019-02-28 15:11:46 +00:00
Harvey Kandola
a888b12ad1 Make TinyMCE Prism integration use full CSS path 2019-02-28 12:31:28 +00:00
Harvey Kandola
bc28b36627 Make Markdown editor use Ember input helper 2019-01-09 11:03:58 +00:00
Harvey Kandola
f73c2f13d4 Syntax highlight code snippets added via TinyMCE
Prism dependencies included.
2019-01-09 11:02:59 +00:00
McMatts
e6ddb1ec24 Upgrade TinyMCE dependency to v4.9.2 2019-01-07 14:42:43 +00:00
sauls8t
75a19a80f9 Replace Bootstrap tooltips/popovers/dropdowns
With Ember Attacher component.

This commit removes redundant BS code.

Co-Authored-By: McMatts <matt@documize.com>
2018-12-06 14:10:00 +00:00
McMatts
64e6a41353 Correct Trello computed property for non-admins 2018-09-10 17:41:01 +01:00
McMatts
b1a35b7f75 Improved Draw.io integration pending changes detection 2018-08-23 12:29:55 +01:00
HarveyKandola
9987d29b7b Provide UI to configure Trello connector 2018-08-09 15:31:36 +01:00
HarveyKandola
7b178a76b2 Render Jira issues 2018-08-07 19:43:25 +01:00
HarveyKandola
0f9602e3a0 Fetching Jira issues 2018-08-07 19:15:25 +01:00
HarveyKandola
7878a244d3 [WIP] Admin level Jira creds and vendored jira libs 2018-08-06 19:39:31 +01:00
sauls8t
39891a0758 Fix Draw.io integratoin timing issue 2018-08-01 17:33:57 -04:00
Harvey Kandola
5fe094a2d7 Save CodeMirror editor instance at end of process 2018-06-07 19:14:09 +01:00
Harvey Kandola
b34e41f65c Image upload for WYSIWYG editor
Fixes #106
2018-06-06 16:53:31 +01:00
Harvey Kandola
92f8fe550e Change space settings management into tab views 2018-06-05 14:04:14 +01:00
sauls8t
fca6cc7ede Turn add section UX into modal flow
At long last we have a modal-driven add section process @HarveyKandola !
2018-06-04 14:37:21 +01:00
Harvey Kandola
36be6243ad WIP new document UX/UI 2018-05-29 18:26:04 +01:00
McMatts
3bc775582d Code linting 2018-05-03 12:49:49 +01:00
Harvey Kandola
85b6e40d8c Finished up Draw.io integration 2018-05-03 12:46:15 +01:00
Harvey Kandola
d746c90624 Draw.io integration WIP 2018-05-02 14:55:02 +01:00
McMatts
f21c80d960 Revert section title change on cancel operation 2018-04-26 12:01:58 +01:00
sauls8t
74e9699e1e Replace showNotificaiton() calls 2018-04-23 12:46:34 +01:00
Harvey Kandola
4e32bffebe Update TinyMCE cache buster 2018-03-13 15:02:01 +00:00
Harvey Kandola
26de0551ae Resolve lint issues 2018-02-08 17:23:17 +00:00
sauls8t
8f0440d55f Improve position of WYSIWYG editor toolbar 2018-02-08 12:12:27 +00:00
sauls8t
9d82682797 Enhance + SECTION to always be visible 2018-02-07 19:16:23 +00:00