Texteditor bugfix.
PGAdmin docker container for management of database. Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>pull/1/head
parent
6df5d7e818
commit
2997e4315f
|
@ -12,6 +12,18 @@ services:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_DB: ${POSTGRES_NAME}
|
POSTGRES_DB: ${POSTGRES_NAME}
|
||||||
|
|
||||||
|
pgadmin:
|
||||||
|
container_name: pgadmin
|
||||||
|
image: dpage/pgadmin4
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
ports:
|
||||||
|
- "5050:80"
|
||||||
|
environment:
|
||||||
|
PGADMIN_DEFAULT_EMAIL: root@root.com
|
||||||
|
PGADMIN_DEFAULT_PASSWORD: ${POSTGRES_ADMIN_PASSWORD}
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
blog:
|
blog:
|
||||||
build: .
|
build: .
|
||||||
container_name: yab-app
|
container_name: yab-app
|
||||||
|
|
|
@ -2,7 +2,7 @@ const rich_text_editors = qsa(".rich-text-editor");
|
||||||
let media = [];
|
let media = [];
|
||||||
|
|
||||||
function textareaAction(textarea, insert, cursor_position, dual_side = false) {
|
function textareaAction(textarea, insert, cursor_position, dual_side = false) {
|
||||||
// textarea = textarea.querySelector("textarea");
|
textarea = textarea.querySelector("textarea");
|
||||||
const selectionStart = textarea.selectionStart;
|
const selectionStart = textarea.selectionStart;
|
||||||
const selectionEnd = textarea.selectionEnd;
|
const selectionEnd = textarea.selectionEnd;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue