diff --git a/docker-compose.yml b/docker-compose.yml index a5ddd6c..e17f748 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,18 @@ services: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} 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: build: . container_name: yab-app diff --git a/frontend/views/themes/default/js/richTextEditor.js b/frontend/views/themes/default/js/richTextEditor.js index d890d68..70b5720 100644 --- a/frontend/views/themes/default/js/richTextEditor.js +++ b/frontend/views/themes/default/js/richTextEditor.js @@ -2,7 +2,7 @@ const rich_text_editors = qsa(".rich-text-editor"); let media = []; function textareaAction(textarea, insert, cursor_position, dual_side = false) { - // textarea = textarea.querySelector("textarea"); + textarea = textarea.querySelector("textarea"); const selectionStart = textarea.selectionStart; const selectionEnd = textarea.selectionEnd;