Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm creating a custom property editor and need to add a Rich Text Editor to it. I was wondering if anybody has any code which shows how to get this working on V8?
Thanks Andy
Hi Andy
You could have a look at the Editor Notes package... that has a Rich Text Editor as a configuration editor:
so I have a view:
<div ng-controller="RichTextPreValueEditorController" class=""> <umb-property-editor model="editornotes"></umb-property-editor> </div>
and then in my controller I configure the model for the umb-property-editor:
$scope.editornotes = { label: 'bodyText', description: 'Enter notes for editor', view: '/umbraco/views/propertyeditors/rte/rte.html', value: $scope.model.value, config: { editor: { toolbar: ["ace", "undo", "redo", "cut", "styleselect", "bold", "italic", "alignleft", "aligncenter", "alignright", "bullist", "numlist", "link", "umbmediapicker", "umbmacro", "umbembeddialog"], stylesheets: [], dimensions: {}, mode: "classic" } } };
if that's the steer you are after?
regards
Marc
Thanks Marc that sorted it! Just a layout issue to sort now.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Tiny MCE Rich Text Editor in Custom Property Editor
Hi,
I'm creating a custom property editor and need to add a Rich Text Editor to it. I was wondering if anybody has any code which shows how to get this working on V8?
Thanks Andy
Hi Andy
You could have a look at the Editor Notes package... that has a Rich Text Editor as a configuration editor:
so I have a view:
and then in my controller I configure the model for the umb-property-editor:
if that's the steer you are after?
regards
Marc
Thanks Marc that sorted it! Just a layout issue to sort now.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.