kongondo / MenuBuilder

Easily create navigation lists/menus using drag and drop
GNU General Public License v2.0
21 stars 8 forks source link

PW3 compatbility: Apply "$m->textFormat = Inputfield::textFormatNone;" accordingly #29

Closed jlahijani closed 7 years ago

jlahijani commented 8 years ago

In some areas of the plugin, you are utilizing HTML in the description field of the InputfieldMarkup. In more recent versions of PW3, changes were made so that the HTML doesn't get rendered as HTML since it gets entity-ized. I spoke about it here and included a screenshot of how it affects MenuBuilder: https://github.com/ryancramerdesign/ProcessWire/issues/1932

The solution is to set the 'textFormat' attribute to 'Inputfield::textFormatNone' on the relevant fields.

kferran commented 8 years ago

Thanks @jlahijani for the solution. Been looking at this but didn't fully understand the issue.

MichaelvanLaar commented 7 years ago

Fixed the bug using @jlahijani’s suggestion, see pull request.

kongondo commented 7 years ago

Thanks @MichaelvanLaar and @jlahijani. Fixed in version 16.