As a result of the changes, the editor is started in a larger window. In addition, the authorisation settings for the article are hidden for the time being. These can be shown via a sandwitch menu if required.
The reload of the page is prevented so that articles already created in the editor are not lost.
ar.
The Composer Editor is another editor in Friendica that is particularly suitable for entering longer texts (e.g. at the local workstation). The special feature is that the editor is loaded in a separate window and therefore does not distract from the timeline.
The editor can still be used in mobile applications
* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
preview is not needed after upload. you can't do anything with the
preview, and dialog gets too big. You see successful upload, when
bb-code link to image is inserted on cursor-position in textarea
Strings:getBytesFromShorthand
i created a js-function which converts integer, k, m and g to MB
Just remove this code, when we found out, why Strings is in some files
not working.
Additional css specification in global.css to resize the button in the composer. ".template-icon"
Use ".template-icon" in additional buttons that are currently displayed oversized.
- Use dependencies instead of most DI calls in Module\Item\Compose
- Group translation strings in a subkey of the template variables array
- Rewrite array initializations in theme/frio/config