OpenContent icon indicating copy to clipboard operation
OpenContent copied to clipboard

Problem with field type "wysihtml"

Open ArielBlanco1990 opened this issue 1 year ago • 11 comments

Describe the bug

Problem when trying to edit the module when I have a field of type "wysihtml". (This worked correctly until OpenContent version 04.07.00)

Software Versions

DNN: 09.11.02 OpenContent: 05.00.06

Expected Result

The edit window should be displayed to update the values.

EditWindow

Actual Result

When trying to edit the module when I have a field of type "wysihtml". The editing window does not show any fields and the error can be seen in the console.

OpenContentIssue

IssueOc

CC; @WillStrohl

ArielBlanco1990 avatar Dec 14 '23 20:12 ArielBlanco1990

@sachatrauwaen Do you think this is something that might be able to be fixed quickly? Do you need one of us to try and fix it?

WillStrohl avatar Dec 14 '23 21:12 WillStrohl

Is it An upgraded Open Content? OR a new install? I believe the WYSIHTML field is not supported anylonger. Check https://opencontent.readme.io/docs/migrating-existing-templates-to-builder-v2

b-creative avatar Dec 14 '23 21:12 b-creative

Also… if you use the fields buttonText and buttonLink… take a look at the field ‘link’. It gives you the possebility to choose what kind of link it is and a text field.

b-creative avatar Dec 14 '23 22:12 b-creative

@b-creative The button link thing was just an example. We're really using that kind of value elsewhere.

ArielBlanco1990 avatar Dec 14 '23 23:12 ArielBlanco1990

@b-creative is right, in the new V2 editor WYSIHTML is not supported any more.

image In that case you would have to replace it with CKEditor.

It should work if you are still using the old form editor.

Timo-Breumelhof avatar Dec 15 '23 09:12 Timo-Breumelhof

I am using Bootstrap 5 for my theme. Any alternative within opencontent with the same possibilities that it provided using WYSIHTML type fields?

ArielBlanco1990 avatar Dec 15 '23 21:12 ArielBlanco1990

This folder is removed by error OpenContent/js/wysihtml/parser_rules In the DesktopModules folders of dnn installation . As à workaround you can add it manually from older installation. I will fix it for next version.

sachatrauwaen avatar Dec 16 '23 01:12 sachatrauwaen

@sachatrauwaen Thank you!

ArielBlanco1990 avatar Dec 18 '23 05:12 ArielBlanco1990

Or you could switch to the CkEditor..

Timo-Breumelhof avatar Dec 18 '23 10:12 Timo-Breumelhof

@sachatrauwaen Thank you!

Do you need anything else for this @ArielBlanco1990 ?

WillStrohl avatar Dec 20 '23 18:12 WillStrohl

@WillStrohl No, I think everything is ready on my end. They just have to keep this in mind for future releases.

ArielBlanco1990 avatar Dec 21 '23 09:12 ArielBlanco1990