mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
ux: New focusOnEditor
URL param to disable focus
Co-authored-by: Richard Hansen <rhansen@rhansen.org>
This commit is contained in:
parent
3722d943c7
commit
408a184704
5 changed files with 44 additions and 5 deletions
|
@ -262,7 +262,7 @@ exports.padeditbar = new class {
|
|||
}
|
||||
setEmbedLinks() {
|
||||
const padUrl = window.location.href.split('?')[0];
|
||||
const params = '?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false';
|
||||
const params = '?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false&focusOnEditor=false';
|
||||
const props = 'width="100%" height="600" frameborder="0"';
|
||||
|
||||
if ($('#readonlyinput').is(':checked')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue