How can i prevent editors from accessing script editor in google sheets?

I have an auto sort script on a sheets document that I will be giving multiple people editing permission to, to add to the file. I have created a trigger so the script also runs when other users edit the file as well.

The only thing I would like to do now is prevent other users with editing permission from accessing the script editor and changing it. Is it possible to prevent access to script editor for other collaborators with editing permission?

I have read other answers saying to create a standalone script and programmatically create an installable trigger. I have created a standalone script but I don’t know how to use it with the sheets document and when i tried to put in an installable trigger it only seemed to run the script properly once, and when accessing it from another users account i could still access script editor as well.

Editing system files in Linux (as root) with GUI and CLI text editors?

My intention is to POSIX-ly write one generalized function for running various text editors I use for different purposes through sudoedit, i.e. editing files as root safely. Safely = for instance, if a power loss occurs during the file edit; another example could be lost SSH connection, etc.


Originally, I had these Bash functions defined for this purpose in my .bash_aliases file:

function sucode {     export SUDO_EDITOR='/usr/bin/code --wait'     sudoedit "$  @" } function susubl {     export SUDO_EDITOR='/opt/sublime_text/sublime_text --wait'     sudoedit "$  @" } function suxed {     export SUDO_EDITOR='/usr/bin/xed --wait'     sudoedit "$  @" } 

Since yesterday, I’m trying to generalize that solution for other Linux users to be able to take advantage of it. Momentary peek:

# Text editing as root; The proper way through `sudoedit`. sudoedit_internal() {     [ "$  {#}" -lt 3 ] && { printf '%s\n' 'sudoedit_internal(): Invalid number of arguments.' 1>&2; return; }     editor_path=$  ( command -v "$  {1}" )     [ -x "$  {editor_path}" ] || { printf '%s\n' "sudoedit_internal(): The editor path $  {editor_path} does not exist on this system." 1>&2; return; }     editor_wait_option=$  {2}     shift 2     env SUDO_EDITOR="$  {editor_path} $  {editor_wait_option}" sudoedit "$  {@}" } # CLI suvi()   { sudoedit_internal vi   '' "$  {@}"; } sunano() { sudoedit_internal nano '' "$  {@}"; } # GUI sucode() { sudoedit_internal code -w "$  {@}"; } susubl() { sudoedit_internal subl -w "$  {@}"; } suxed()  { sudoedit_internal xed  -w "$  {@}"; } 

These 5 editors I use. Please take that as an example only.

Why are there no free PDF editors

As far as I can tell all PDF editors that can edit PDFs (Adobe Acroba, Foxit) are paid / closed source. What could be the reason behind this?

To be clear, I’m talking about editors that edit PDF inline. Importing a PDF with a word processor such as Microsoft Word don’t count as they explicitly convert the file to a different format.

User friendliness of ‘floating’ WYSIWYG editors such as Medium and Summernote ‘Airmode’

Currently there are some WYIWYG editors (medium.com and summernote airmode)that provide a ‘floating’ toolbar to edit the text. I.e. The user highlights the text and a toolbar shows up above the text allowing the user to change the text to bold etc.

While I think this is a very convenient way of editting text as it cleans up the interface and allows us to reduce the amount of buttons to reduce unnecessary affordances, it is still hidden from plain sight. Only after selecting text it shows the toolbar.

How convenient do you think this type of editor is for a first time user?

How to let content editors use pre-defined block-like content?

In wordpress (gutenberg), content editors can choose some kind of pre-defined blocks to their content. If I have content editors, that can create new nodes, I want them to be able to add such blocks into their content, but in a more drupal like way.

Let’s say, the editor wants to create an article and wants to add a quote, a picture with a description or a Video with a description. I would assume, that I could create custom block types for these, to have the required fields and to create a design for these blocks.

But:

  • The editor should be able to create one or more of these blocks, preferrably on the page that they’re editing.
  • And they should be able to place these peaces of content anywhere in their content.

An example would be an outstanding quote, that could be placed anywhere in the text, but not by creating/designing it at that place in the text, where it makes sense content-wise, but without having to design it, using the text editor itself.

Best case: They could even be able to chose whether they place it within the text in a big version or in a sidebar in a smaller version.

My problem:

  • If it’s a custom block type, how can I assign only a defined set of these to a certain content type? This only works with fields, does it?
  • How can I add them to the editor form without cluttering it with forms for all possible types?

Should “Enter” create a large or small line spacing on text editors?

On some popular rich text editors like CKEditor, the default behaviour for pressing “Enter” is to create a new paragraph (a <p> tag), while on the others, like the textarea here on Stackexchange, pressing “enter” would mean a line break <br>.

Things get complicated when users are copying from one editor to another editor. For example, if a user write his/her work on Microsoft Word, where the user need to press “enter” several times to create enough space for a paragraph, copy and pasting it to CKEditor would create unintentionally and ugly large gaps between paragraphs. It seems that I can configure CKEditor to make it Enter as <br>, instead of Enter as <p>, but is it really better if the editor on my site is intended for writing long passages with multiple paragraphs?

How to scan a file with several antiviruses without sharing the file with antiviruses editors?

At the moment, is it possible to scan a file with several antivirus on a website without sharing this file with antivirus ? It seems that the privacy argument is not considered by the courts : https://thehackernews.com/2018/09/scan4you-malware-scanner.html

The only solution I have in mind is to have one virtual machine by antivirus, up do date and configured to not share programs. What do you recommend ?