I need adata type thatallows onlyone row andsammtidigtallow formattingoftext, such asinsert images, links,bold text, etc. I can not findbågontext controlthat is bothsingle lineand allowsrich text
Not sure what "sammtidigt" means? (I ran it through google translate - guessing you meant 'while' - Swedish?) :-)
With the rich-text editor, currently the only way is to set the "Width and height" properties (in the developer section of the TinyMCE data-type) to appear like a single-line. The main problem is that editors could still add new-lines.
Not sure if there is another option or available package that can achieve what you want - yet.
upps, I did not review the text before I post it. You're right, "sammtidigt" means while in Swedish.
Too badthere is nosuch control.I getaround that bysimply askingthe user tonot writemore than one line. I don't like that it add <p>in htmltext.CanI remove thesein the template?
Yes, you strip out the first paragraph tag - if you are using a Razor or XSLT macro, then can make a call to the "umbraco.lbrary.RemoveFirstParagraphTag" function.
If you are outputting the field directly in a template, then you can use the <umbraco:Item> tag with the "stripParagraph" attribute:
Single line rich text
I need a data type that allows only one row and sammtidigt allow formatting of text, such as insert images, links, bold text, etc.
I can not find bågon text control that is both single line and allows rich text
Hi Magnus, welcome.
Not sure what "sammtidigt" means? (I ran it through google translate - guessing you meant 'while' - Swedish?) :-)
With the rich-text editor, currently the only way is to set the "Width and height" properties (in the developer section of the TinyMCE data-type) to appear like a single-line. The main problem is that editors could still add new-lines.
Not sure if there is another option or available package that can achieve what you want - yet.
Cheers, Lee.
upps, I did not review the text before I post it. You're right, "sammtidigt" means while in Swedish.
Too bad there is no such control. I get around that by simply asking the user to not write more than one line.
I don't like that it add <p> in html text. Can I remove these in the template?
Hi Magnus,
Yes, you strip out the first paragraph tag - if you are using a Razor or XSLT macro, then can make a call to the "umbraco.lbrary.RemoveFirstParagraphTag" function.
If you are outputting the field directly in a template, then you can use the <umbraco:Item> tag with the "stripParagraph" attribute:
Cheers, Lee.
is working on a reply...