I am in need of a text item that has a tag but has no text is this possible?
I would rather not use Zero Width Space etc.
Empty text item possible?
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Empty text item possible?
It is possible to add it in code. But on editing, it may be removed.
You can try using a text style having EmptyWidth = 1.
You can try using a text style having EmptyWidth = 1.
Re: Empty text item possible?
I assume by editing, if a user types, but not if the editing is done via code? This is mainly a display with out user editing.
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Empty text item possible?
It may be removed only:
- when the user edits this paragraph (it includes calling editing methods that modify this paragraph).
- when inserting this content in another document.
Otherwise, it's ok to use empty text item.
Another solution is using hidden items.
- when the user edits this paragraph (it includes calling editing methods that modify this paragraph).
- when inserting this content in another document.
Otherwise, it's ok to use empty text item.
Another solution is using hidden items.
Re: Empty text item possible?
Can hidden items interact with a mouse hover? I suppose an empty item wouldn't either hmms.
-
- Site Admin
- Posts: 17522
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Empty text item possible?
But empty text items cannot interact with a mouse pointer as well, because they have zero size.
Visibility of hidden items can be switched on and off.
Visibility of hidden items can be switched on and off.