sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Problem with field type "wysihtml" #224

Open ArielBlanco1990 opened 7 months ago

ArielBlanco1990 commented 7 months ago

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

WillStrohl commented 7 months ago

@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?

b-creative commented 7 months ago

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 commented 7 months ago

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.

ArielBlanco1990 commented 7 months ago

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

Timo-Breumelhof commented 7 months ago

@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.

ArielBlanco1990 commented 7 months ago

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

sachatrauwaen commented 7 months ago

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.

ArielBlanco1990 commented 7 months ago

@sachatrauwaen Thank you!

Timo-Breumelhof commented 7 months ago

Or you could switch to the CkEditor..

WillStrohl commented 7 months ago

@sachatrauwaen Thank you!

Do you need anything else for this @ArielBlanco1990 ?

ArielBlanco1990 commented 7 months ago

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