TexasDigitalLibrary / Vireo

Vireo is a turnkey Electronic Thesis and Dissertation (ETD) Management System.
https://texasdigitallibrary.atlassian.net/wiki/spaces/VUG/pages/87490642/About
GNU General Public License v2.0
44 stars 33 forks source link

Issue 1858: Fix WYSIWYG in lock unlock fields, reverting previous approach. #1862

Closed kaladay closed 11 months ago

kaladay commented 11 months ago

resolves #1858

Originally, the Locking Text Area fields were not working at some point in time. This got fixed by disablying the wysiwyg attribute in this PR:

(For this issue: https://github.com/TexasDigitalLibrary/Vireo/issues/1776)

The lack of a wysiwyg attribute suggested that wysiwyg is supposed to be false.

That code was approved and merged in previous sprints.

The same bug was discovered a second time in different places and recorded here:

The solution chosen is to do the same exact approach as the previously approved code:

The problem is not the "=== 'wysiwyg'" and "!== 'wysiwyg'" checks.

Instead, the WYSIWYG data is not being loaded by the webpack. This is essentially a regression from when the project switched to use webpack.

The "custom css" text area is left to have wysiwyg set to false.