ADefWebserver / ADefWebserver.Module.HtmlTextV2

MIT License
4 stars 1 forks source link

Html editor component html editor #21

Closed thabaum closed 5 months ago

thabaum commented 5 months ago

Adds HtmlEditorComponent to Edit.razor

This branch has been fully tested under todays branch from Oqtane.Framework.

Unzip the dev branch into a folder and unzip this project into the same folder created. Rename Oqtane.Framework-dev to Oqtane.Framework Build/Install Oqtane Framework Instance from F5 Debug Mode Visual Studio

Build This Project and restart visual studio and the running instance of Oqtane Framework until you get the module to show up in your list. I like to go to the module settings page and install modules page... seems like it might show up more often than not after I do this... but more times will tell for sure if this helps.

Tested again with todays dev branch and copied files from my latest code to show this is getting warmer but a lot of work left to do... image regular editor still works as before:

image New editor V2 image

ALL KINDS OF STUFF STILL BROKEN HAVE AT IT :)

thabaum commented 5 months ago

@ADefWebserver Issues I still have are the File Manager which if we can get it to be a part of the HtmlEditorImage component popup window that would be cool. I did set things so it can be turned on and off but the settings page IS bugged out so not sure I may change things back for this POC if we want to as far as setting names go.

But this gets you up to where I am at... and this branch works 100% for me, I am going to say if new computer maybe you do not have URL Rewrite or something missing to help this run on your machine?

thabaum commented 5 months ago

Need the rest of the toolbar working and the image picker incorporating the file manager. I have a hard time getting projects to share components at times as I had already attempted this.

I just wanted to be sure this works, if anyone else can test it out great!

ADefWebserver commented 5 months ago

@thabaum - Now it works :) image

thabaum commented 5 months ago

I still need to find the rest of the issues with the control bar icons which I may figure out soon I think it is going to be simple once I focus on it.

But shows it can work as is to at least save and edit source similar to how it was really... only thing missing is the file manager aspect for the image picker which I was going to try to add to the HtmlEditorImage component

Note: This works in static server mode so no need to force it to interactive mode... should just work.

ADefWebserver commented 5 months ago

Note: This works in static server mode so no need to force it to interactive mode... should just work.

Yes on a new Oqtane install it just-works 👍🏾

thabaum commented 5 months ago

One last thing is right now I think I will go through all the components and make sure they match latest code as I used the latest radzen blazor js swapping out the names to HtmlEditor

thabaum commented 5 months ago

A lot of clutter in there left over from between the merge that may/may not be useful and lots of things that need reviewed so enjoy what we have for now. As soon as I feel I have something worth pushing I will share.

I will review all component code and compare to radzen related now.

thabaum commented 5 months ago

and this is by far not done, just a checkpoint