Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Fixes: #3110
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
`div` is not an allowed child element of a `hX` tag,
this leads to invalid behavior on firefox so we need to use the `span` tag
as the NodeView content container.
Also using `tabindex=-1` on the NodeView will trigger weird behavior when
clicking inside the heading and pressing the enter key. It will split the node
but also copy the heading anchor link of the NodeView.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Address review feedback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
`#content` has a default margin in Nextcloud 25, which breaks the layout
for direct editing. Manually set it to 0 in order to fix direct editing.
Fixes: #2976
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Fixes: #3140
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Luka Trovic <luka@nextcloud.com>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Show word count as last element of the overflow menu,
which now will be always shown. The word count
is updated when the menu is openend as the
tiptap word count is not reactive.
Modified ActionList: Added a named slot for adding
elements that should always shown as the last elements.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Improved the styling of the saving indicator on small screen sizes,
previously the contributors menu was overlapped by the saving indicator.
Also on dark color mode the saving indicator was inconveniently sticking out
by its bright (white) background color, it is now set to the main background color.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
`|` is a special character inside tables and need to be escaped
if used inside table cells.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Ref.: https://github.com/ueberdosis/tiptap/pull/3239
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
add tests for it
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
formatting modal help
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Luka Trovic <luka@nextcloud.com>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
This was introduced by using NodeViews.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Handle inter-page links properly and use a heading view for displaying links and link anchors. Implements #2173
Also fix link handling, to scroll to selected header when
clicking on an anchor link (`#some-id`).
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
The nextcloud logger take account for the configured logging level,
so only messages the user / administrator wants are logged.
This fixes #2846 (no debug messages are logged if not configured).
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Jonas <jonas@freesources.org>
|
|
Signed-off-by: Luka Trovic <luka@nextcloud.com>
|
|
Currently printing will include the menu bar and longer text files will be cropped after the first page.
This enables printing of text documents without any major styling changes,
slightly adjusted margins and added table borders.
This implements the CSS part of #112
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
nextcloud/feature/heading-anchors" until #2868 be fixed
This reverts commit 0f2c48ea4c4822456f737b3c39b0c5f354b17df5, reversing
changes made to 9973d1fb5230d8c9fb46394a14fbdcc90d339a3a.
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Remove IDs on elements which might be present multiple times in the DOM.
This might happen because they are used in the rich workspace but also
in the editor viewer.
Replaced the ID usage with the class name.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|