Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Enable Media Buttons' option in WYSIWYG-field show strange behaviour #7248

Open
raoulunger opened this issue Jan 23, 2024 · 0 comments
Open

Comments

@raoulunger
Copy link

raoulunger commented Jan 23, 2024

Description

If a pods field is a WYSIWYG-text field, we have under the second tab the 'WYSIWYG (visual editor) Options'. On that tab, there is a checkbox to 'enable Media Buttons. This is unchecked by default. However, when the TinyMCE editor is chosen (which is default as well), the Media Buttons show up in de form regardless of that option being not checked.
For the media buttons to actually disappear, we need to

  • check the option box and save the field
  • then uncheck the option box again, and save the field
    Only then will the media buttons not show in the editor.

Version

3.0.10

Testing Instructions

  • define a WYSIWYG text field
  • go to the second tab WYSIWYG (visual editor) option
  • choose TInyMCE editor (if not already chosen)
  • notice that the checkbox 'enable Media' Button is unchecked. Still the buttons show up in the editor when adding a new post to the pod (say a new 'project' the 'projects' pod)
  • check the checkbox, save the field
  • uncheck the checkbox again, save again
  • now the Media Buttons will not show in the pods form.
  • expected behaviour would have been for the buttons the not show up in the first place, as the checkbox by default is unchecked.

Screenshots / Screencast

Screenshot 2024-01-23 at 18 21 09

Possible Workaround

No response

Site Health Information

`
### wp-core ###

version: 6.4.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%category%/%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 0
default_comment_status: open
environment_type: production
user_count: 2
dotorg_communication: true

### wp-paths-sizes ###

wordpress_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app
wordpress_size: 59.02 MB (61888043 bytes)
uploads_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/uploads
uploads_size: 10.93 MB (11456373 bytes)
themes_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes
themes_size: 9.75 MB (10225686 bytes)
plugins_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins
plugins_size: 55.49 MB (58189207 bytes)
database_size: 5.95 MB (6242304 bytes)
total_size: 141.15 MB (148001613 bytes)

### wp-active-theme ###

name: Understrap Child (understrap-child)
version: 1.2.2.1702839726
author: Howard Development & Consulting
author_website: https://howarddc.com
parent_theme: Understrap (understrap)
theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, menus, html5, post-thumbnails, customize-selective-refresh-widgets, post-formats, custom-background, custom-logo, responsive-embeds, editor-styles, align-wide, editor-color-palette, widgets, editor-style
theme_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/understrap-child
auto_update: Disabled

### wp-parent-theme ###

name: Understrap (understrap)
version: 1.2.2
author: Howard Development & Consulting
author_website: https://howarddc.com
theme_path: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/themes/understrap
auto_update: Disabled

### wp-mu-plugins (1) ###

WordPress automation by Installatron: author: (undefined), version: (undefined)

### wp-plugins-active (17) ###

Advanced Access Manager: version: 6.9.20, author: AAM <support@aamplugin.com>, Auto-updates disabled
All In One WP Security: version: 5.2.5, author: All In One WP Security & Firewall Team, Auto-updates disabled
Child Theme Configurator: version: 2.6.5, author: Lilaea Media, Auto-updates disabled
Classic Editor: version: 1.6.3, author: WordPress Contributors, Auto-updates disabled
Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: version: 6.15.15.3, author: SeedProd (latest version: 6.15.21), Auto-updates disabled
Custom Adobe Fonts (Typekit): version: 1.0.18, author: Brainstorm Force, Auto-updates disabled
Dashboard Sticky Notes: version: 1.1.2, author: Hiroaki Miyashita, Auto-updates disabled
Font Awesome: version: 4.4.0, author: Font Awesome, Auto-updates disabled
Head & Footer Code: version: 1.3.3, author: Aleksandar Urošević, Auto-updates disabled
HTML Editor Syntax Highlighter: version: 2.4.4, author: James Bradford, Auto-updates disabled
Limit Login Attempts Reloaded: version: 2.25.29, author: Limit Login Attempts Reloaded, Auto-updates disabled
Pods - Custom Content Types and Fields: version: 3.0.10, author: Pods Framework Team, Auto-updates disabled
Simple Custom CSS and JS: version: 3.45, author: SilkyPress.com, Auto-updates disabled
SVG Support: version: 2.5.5, author: Benbodhi, Auto-updates disabled
Toggle wpautop: version: 1.3.0, author: Linchpin & Jonathan Desrosiers, Auto-updates disabled
Ultimate Lightbox: version: 1.1.6, author: Etoile Web Design, Auto-updates disabled
Woody code snippets (PHP snippets | Insert PHP): version: 2.4.10, author: Creative Motion, Will Bontrager Software, LLC <will@willmaster.com>, Auto-updates disabled

### wp-plugins-inactive (2) ###

Simple Lightbox: version: 2.9.3, author: Archetyped, Auto-updates disabled
Strato Assistant: version: 7.3.0, author: Strato, Auto-updates disabled

### wp-media ###

image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-90 Q16 x86_64 17868 https://legacy.imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 128M
upload_max_filesize: 128M
max_effective_size: 128 MB
max_file_uploads: 20
imagick_limits: 
	imagick::RESOURCETYPE_AREA: 8 GB
	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
	imagick::RESOURCETYPE_FILE: 192
	imagick::RESOURCETYPE_MAP: 4 GB
	imagick::RESOURCETYPE_MEMORY: 2 GB
	imagick::RESOURCETYPE_THREAD: 1
	imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, AVI, AVS, B, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: not available

### wp-server ###

server_architecture: Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Linux localhost 4.18.0-477.27.1.el8_8.x86_64 #1 SMP
httpd_software: Apache/2.4.58 (Unix)
php_version: 8.1.26 64bit
php_sapi: cgi-fcgi
max_input_variables: 4000
time_limit: 240
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 128M
php_post_max_size: 128M
curl_version: 8.4.0 OpenSSL/3.0.10
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-01-23T17:33:30+00:00
utc-time: Tuesday, 23-Jan-24 17:33:30 UTC
server-time: 2024-01-23T17:33:28+00:00

### wp-database ###

extension: mysqli
server_version: 10.6.15-MariaDB-1:10.6.15+maria~deb11-log
client_version: mysqlnd 8.1.26
max_allowed_packet: 67108864
max_connections: 3000

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content
WP_PLUGIN_DIR: /mnt/web612/e3/63/528068063/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable

### pods ###

pods-server-software: Apache/2.4.58 (Unix)
pods-user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:109.0) Gecko/20100101 Firefox/115.0
pods-session-save-path: 2;/var/tmp
pods-session-save-path-exists: No
pods-session-save-path-writable: No
pods-session-max-lifetime: 1440
pods-opcode-cache-apc: No
pods-opcode-cache-memcached: No
pods-opcode-cache-opcache: Yes
pods-opcode-cache-redis: No
pods-object-cache-apc: No
pods-object-cache-apcu: No
pods-object-cache-memcache: No
pods-object-cache-memcached: No
pods-object-cache-redis: No
pods-memory-current-usage: 6.885M / 40M
pods-memory-current-usage-real: 8.000M
pods-network-wide: No
pods-install-location: /wp-content/plugins/pods/
pods-developer: No
pods-tableless-mode: No
pods-relationship-table-enabled: Yes
pods-relationship-table-status: 3
pods-light-mode: No
pods-strict: No
pods-allow-deprecated: Yes
pods-api-cache: Yes
pods-shortcode-allow-evaluate-tags: No
pods-sessions: Disable sessions
pods-can-use-sessions: No
pods-settings-types_only: No
pods-settings-watch_changed_fields: No
pods-settings-metadata_integration: Yes
pods-settings-metadata_override_get: No

`

Pods Package

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant