Umbraco Rich text editor on next tab - content-management-system

Hi this is my first Umbraco build, so I'm not sure if this is a common occurrence, but for the rich text editor I went through this process to create my own styles.
http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/stylesheets-and-javascript/setting-up-rte-styles/documentation
However on my data types I've got another tab, which uses a grid structure within that grid structure there are rich text editor options. The problem I'm having is that the rich text editor isn't pulling through my styles.
Is there a way to make the rich text editor styles universal across my umbraco site.

Richtext editor inside the grid has another, different than default, configuration. You can find it in Grid data type which is used on page which you want to edit.

Related

Displaying same document in editor twice with different text decorations

I'm currently developing a vscode extension that highlights snippets of text in specific colors. In order to do that I am creating a TextEditorDecorationType with the color and use setDecoration (TextEditor) on the active text editor.
Now I would like to compare two different colors on the same snippet with each other. Therefore I want to have the editor split in half showing the text document twice, on the left side with the old decoration and on the right side with the new decoration, similar to the git source control:
I figured if it is possible in the source control it should be possible anywhere.
Currently I open a second text editor with the same TextDocument and add the new TextEditorDecorationType to it, yet instead I would like to do it as shown above.
I cannot figure out how to split the editor like that displaying the same content twice.

How can I customize the "jumping" from the Eclipse problems view?

I am trying to customize the way double clicking works in the ProblemsView for my RCP application. Right now, the resource is set to a file and the location is set to a line number. That works great for a text-based editor, but I am creating a multipage form based editor.
How can I change the behavior of the ProblemsView so that I can get in the middle of the double clicking and the jumping and interpret the location (or some other marker attribute) so that my form editor will respond in the right way?
Implement an IGotoMarker adapter for your editor, and then handle it how you will.
http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ide/IGotoMarker.html

Restrict text styling options to custom ribbon tab in word document

I have created custom ribbon tab and added the list of text styling options that I want the users to be using inside my document, however I want to disable all the styling options from the entire document in all the ribbon tabs except the custom tab that I have created.
What I have right now
All the styling options are disabled across all ribbon tabs.
What I want
To disable the styling in all the ribbon tabs except the custom one that I've created.
I think you may be missing the point. One disables not buttons, but commands. This is the basic idea. You can invoke a command (such as "Font color") from many places, using keyboard shortcuts and so on.
So office allows you to disable a command, not a button - and it makes perfect sense.
There is another option - you can remove office ribbon as a whole, using "StartFromScratch" attribute, and provide only the buttons you want instead.

Is it possible to change the WYSIWYG in CS-Cart?

I would need to change the default editor use in CS-Cart, or at least try to add some more user-friendly buttonas (such as images uploads, and so on...)
Is there a way to change or modify the standard WYSIWYG editor in CS-Cart?
CS-cart has by default 3 wysiwyg editors, TinyMCE, CKEditor and Redactor and can be selected from backend, Settings > Appearance

Eclipse GEF graphical editor without header

I am developing RCP plug-in with GEF framework.
I've created basic graphical editor (GraphicalEditor and IEditorInput)
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
page.openEditor(new TEditorInput("T"), TGraphicalEditor.ID,false);
When I run the application I get editor with a header that contains the tab with the name of the editor and control buttons to maximize and minimize the editor.
What I need is to display just the editor, without the header.
Can it be done?
To my knowledge, it is not possible to just hide an editor's tab.
However, you can try two workarounds:
Have your GEF editor be displayed in an Eclipse view instead of an editor and open such a view as a standalone view. An example of how to open a GEF diagram in a view can be found in GEF's Directed Graph Example. An example of how to open a view as standalone can be found in one the Eclipse RCP official tutorials.
Extend the presentation factories extension point to control how workbench parts are displayed (which includes control over the part stack tab).
I suggest you try the first approach, as to me it seems easier to implement.
The idea with editors is that you can instantiate them multiply for different editor inputs. I am not aware of any way to restrict the number of open editors to just one (well, it appears you can in Eclipse 4.2 if that helps you)
For views, what you want can be done by setting the perspective to fixed and set showTitle of the org.eclipse.ui.perspectiveExtensions extension to false on the view. Maybe you can use a view instead of an editor and control the editor input yourself?
(For example, using an editor, the default Open action would instantiate a new editor, while you probably want to replace the contents in your only editor, right?)