Wysiwyg for mvc widgets

Paul Bleakley asked on January 28, 2019 22:01

Hi, I can see in the example site there is a "MediumEditor" for widgets in K12 mvc to do text, but is there the same for a wysiwyg editor, ie the same one you get in the form tab? Or do you have to implement CK editor yourself as a widget?

Correct Answer

David te Kloese answered on January 29, 2019 09:49

Hi,

You have to create your own Inline Property editor. docs.kentico.com/.../defining-widget-properties-in-mvc#DefiningwidgetpropertiesinMVC-Implementinginlinepropertyeditors

I recently wrote a Blog post implementing the Alloy Editor in K12. Which is build upon the CKEditor, devdavid.nl/.../creating-an-inline-editor-in-kentico-12

1 votesVote for this answer Unmark Correct answer

Recent Answers


Paul Bleakley answered on January 29, 2019 22:02

Cool thanks

0 votesVote for this answer Mark as a Correct answer

Mark Regan answered on March 19, 2019 16:07

Not cool, the point of a CMS is to give us these tools not for us to add them ourselves?

2 votesVote for this answer Mark as a Correct answer

David te Kloese answered on March 19, 2019 16:14

@Mark - although I agree more examples would be appreciated.

This feature heavenly integrates with your MVC application. Forcing you to use (a very old version of) the CK-editor also has it downsides.

FYI: although I don't think it will contain WYSIWYG-editors in the latest blog post about the K12 Service Pack there is a note about more ready to use inline editors:

https://www.kentico.com/blog/kentico-12-service-pack-news

Therefore, along with the Kentico 12 Service Pack’s release, we will also provide you with a range of selectors ready for your MVC projects so you can develop faster.

Since this feature is quite new not much examples are available, but give it time and the community will be able to supply more and more examples!

1 votesVote for this answer Mark as a Correct answer

Mark Regan answered on March 19, 2019 16:24

Thanks, @David but that service pack is not scheduled until June so there will be a lot of people writing code to try and fix this, I would go as far as to say that until June people should be warry of Kentico MVC widgets.

0 votesVote for this answer Mark as a Correct answer

Libby Spellman answered on October 1, 2019 17:51

David good job on the editor, I'm still using this after the service pack. I'm not sure if there is something better out at the moment?

0 votesVote for this answer Mark as a Correct answer

Libby Spellman answered on October 1, 2019 18:32

All,

For future reference on this, in case someone else stumbles upon this. Kentico has created their own form component and inline widget using the TinyCke editor

Link: https://github.com/KenticoDevTrev/KenticoBoilerplate_v12

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.