Questions tagged [richeditabletext]

19 questions
7
votes
0 answers

How to apply Bullet and Numbered List in android Edit-text

I am trying to apply Bulleted list and Numbering list in android edit-text when user press button. For that i have tried below code. For Bullet BulletSpan[] quoteSpan = str.getSpans(selectionStart, selectionEnd, BulletSpan.class); …
user3660803
  • 315
  • 1
  • 3
  • 15
7
votes
1 answer

Are there any alternatives to using contenteditable or a textarea?

I am working on an online rich-text editor, similar to the WordPress page creator, or the Stack Overflow post creator. It has been pointed out that there are two distinct types of online rich-text editors: WYSIWYG editors, and HTML editors I'm…
6
votes
3 answers

How do I make an editable ListView item?

I have dynamic data and I am using ListView.builder to show the user. I simply use a Text to show the data to user. Only right I add an edit icon so when user clicks the icon it enables user to edit specific Text. How do I make an editable ListView…
Nick
  • 4,163
  • 13
  • 38
  • 63
5
votes
2 answers

How to prevent browser from inserting HTML into a contenteditable element

When a user inserts linebreaks in a contenteditable element, browsers insert HTML into the element. Here is what you get when you hit [Enter] in various browsers: IE:

Chrome:

Safari:

Firefox:
brentonstrine
  • 21,694
  • 25
  • 74
  • 120
2
votes
0 answers

A link inside TextFlow: rollOver/rollOut bubbles, shouldn't bubble, and cannot be avoided

I'm having a weird behavior. I have an HTML link inside a TextFlow. When I set its linkHoverFormat, it starts sending rollOver/rollOut events up the chain. These events say the don't bubble but somehow they do. And I can't seem to stop them from…
nununo
  • 223
  • 2
  • 11
2
votes
0 answers

flex mobile add emoticons and text

I created a chat program in the mobile project, but I can not add emoticons,I know textarea can not display pictures,So I reluctantly use RichEditableText, it can add a picture, but why can not I enter characters (letters and Chinese characters) in…
1
vote
2 answers

Flex: TextFlow ignores whitespaces

i'm trying to add whitespaces in front of my text, but flex removes all but one whitespace from the text. So i can't format the text. Here is the specified line: • Lorem ipsulum Here its shown correctly but when running…
Felix K.
  • 6,201
  • 2
  • 38
  • 71
1
vote
2 answers

How do I get a bounding box for the current selection?

I'd like to do fancy things the selection indicator. How do I get the bounding box for the currently selected characters?
ablerman
  • 1,523
  • 1
  • 12
  • 20
1
vote
1 answer

Flex Text html format conversion to HTML

I have an application where you can configure some pages using the RichTextEditor and storing the resulting HTML Text Flow to database to use later... If I import the saved datas to Flex using a RichEditableText there is no problem at all and I see…
Marcx
  • 6,806
  • 5
  • 46
  • 69
1
vote
0 answers

How to precise control the position of the inline graphic in Sprak RichEditableText

At the moment, I use the property alignmentBaseline to set the alignment of inline graphic and text, but it can't control the position precisely and it seems strange. In HTML, I can control it by CSS property padding or margin. How should I do it in…
0
votes
2 answers

Detect right clicks on a RichEditableText

I am currently implementing squiggly in a flex application to enable spell checking. Due to certain requirements, I can not use SquigglyUI to hook onto my spark RichEditableText. I have successfully used com.adobe.linguistics.utils.TextTokenizer to…
F21
  • 32,163
  • 26
  • 99
  • 170
0
votes
1 answer

Mousing over RichEditableTextField causes scrolling to stop

I have noticed that if a VScrollBar component contains RichEditableTextFields then when I am scrolling the component, and the mouse falls over a text field, then the component stops scrolling because the mouse cursor has changed and the mouse focus…
citizen conn
  • 15,300
  • 3
  • 58
  • 80
0
votes
1 answer

RichEditableText SelectionColor

I'm new to flex, actually I'm reading a simple tutorial about Flex 4 (I'm using flash builder 4.5) this is the tutorial. I added a RichEditableText and then I should specify the property selectionColor, but when I add it to the source code, the IDE…
Marcx
  • 6,806
  • 5
  • 46
  • 69
0
votes
1 answer

Flex 4 RichEditableText with right click menu

I need selectable text that can be copied. Some users are used to copy with Ctrl+C (Cmd+C on Mac), and some are used to right click and select "Copy". Using s:RichEditableText, there is no "Copy" in right click menu: http://d.pr/xWXW Using mx:Text,…
rlovtang
  • 4,860
  • 2
  • 30
  • 30
0
votes
1 answer

No way to insert in Flex RichEditableText flowlayout

I have some issue with this code : with tab"; ta.textFlow = TextConverter.importToFlow(str,…
Fred
  • 399
  • 3
  • 12
1
2