Skip to main content



      Home
Home » Eclipse Projects » Requirements Modeling Framework  » How to enter rich text
How to enter rich text [message #1221545] Tue, 17 December 2013 18:37 Go to next message
Eclipse UserFriend
Hi,

I've created an XHTML datatype, and then a SpecObject property with my XHTML type. However, I'm not seeing an obvious way to edit the rich text now - both the properties editor and the table in the document tab only accept plain text. Adding in XHTML tags by hand doesn't work - adding <br> and saving it gives you a &lt;br/>, saving that again gives you a &amp;lt;br/>, then &amp;amp;lt;br/> and you get the idea.

How is it intended that xhtml content is to be added?
Re: How to enter rich text [message #1221577 is a reply to message #1221545] Tue, 17 December 2013 20:54 Go to previous messageGo to next message
Eclipse UserFriend
I've added RTF presentation for my XHTML type, which gives me a rich text editor - but I still can't add newlines. Pressing enter saves it, as well as doing shift+enter.

Using the Rich Text editor also changed the texts font size on me, and the rich text editor doesn't seem to have obvious buttons to change the text font: http ://i.imgur.com/ICWDzQ0.png

[Updated on: Tue, 17 December 2013 20:58] by Moderator

Re: How to enter rich text [message #1221670 is a reply to message #1221577] Wed, 18 December 2013 02:52 Go to previous messageGo to next message
Eclipse UserFriend
Hello Vadim

Quote:
I'm not seeing an obvious way to edit the rich text now


Looks like you already found the solution to this one. Smile

Quote:
but I still can't add newlines.


This is a known bug. As a workaround, you can insert newlines by pasting them (e.g. from a plain text editor).

Quote:
Using the Rich Text editor also changed the texts font size on me


This is also known. In some scenarios, there is some strange reformatting going on.

We have these issues in our bug database (not the one from Eclipse, as these are proprietary extensions). There will be a new release of the Essentials when ProR 0.10.0 is released (end of January) - with some luck, these issues will be fixed.

Sorry for the inconvenience.

Best, Michael
Re: How to enter rich text [message #1221692 is a reply to message #1221670] Wed, 18 December 2013 03:46 Go to previous messageGo to next message
Eclipse UserFriend
Quote:
but I still can't add newlines.


You can add new lines with the key combination CTRL + ENTER (i.e. the Enter of the NUMBLOCK)
Re: How to enter rich text [message #1221715 is a reply to message #1221692] Wed, 18 December 2013 04:29 Go to previous message
Eclipse UserFriend
OK, thanks!
Previous Topic:Multiple presentation options per datatype?
Next Topic:XML schema validation
Goto Forum:
  


Current Time: Thu May 08 00:55:37 EDT 2025

Powered by FUDForum. Page generated in 0.03243 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top