Search…

X3 Photo Gallery Support Forums

Search…
 
jasonmerlo
Topic Author
Posts: 23
Joined: 03 Oct 2009, 10:49

Text editor problems

19 Nov 2009, 20:24

1. None of the font size or alignment commands work consistently, if at all.
2. I'm no HTML expert, but the code that is being generated looks like it is adding a bunch of unnecessary garbage.
3. I can manually edit the code, save it, and everything will look fine. Five seconds later, I go back to re-edit the code, and it has changed itself somehow from what I just manually typed in.
4. I can create an internal link and save it. Then I delete it. Then when I go to start typing again, the editor automatically creates a link with the new text that I type.
5. The "add a picture" tool does not work at all.

The text editor needs major work ASAP.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

21 Nov 2009, 08:41

Well, let me just tell you two important things first:

#Textfields in flash are very inferior in terms of displaying HTML. They obviously cannot display html like browsers, and even some basic text-formatting has restrictions. We had to customize the editor somewhat simply to create flash-textfield friendly html output. Just to mention a few: internal links methology, <textformat> for setting picture heights, specific font-size attributes as "+1" "+2" etc doesnt work. Unfortunately, we cant control how a flash textfield displays html code.

1. I dont have any problems setting font size here, although our editor along with mot others are not flawless in terms of where it separates tags. Our editor is based on a popular wysiwig editor. Alignment works fine here also, but align has to be assigned to specific tag <p> in editor.

2. As mentioned, it is based on a popular editor, and we only change how some of the tags are added simply because flash textfields are very picky.

3. Text editors may do this. I use joomla, and it does the same ... Of course,w e will try to improve anything we can, but we will not build our own text-editor.

4. This is also normal, because if you delete some text, it might still think you wanna keep the link, but are just removing the text to add something else. Of course, not flawless.

5. Add picture works fine here. Perhaps you have a link to your admin, and can you tell me what platform you are working from?

Thankyou for your feedback - We will of course try to improve the editor. Its a tricky task though, because we have to make output flash-friendly, and no javascript editors work flawlessly anyway.
 
jasonmerlo
Topic Author
Posts: 23
Joined: 03 Oct 2009, 10:49

21 Nov 2009, 09:47

Here's the link to the page I was trying to add pictures to.

http://www.jasonmerlo.com/imagevue/?pat ... nt+List%2F

I was trying to add a picture next to each name.

I work on Windows Vista using Firefox.

thanks for the reply. I didn't know all that stuff regarding text editors and flash.

Re. 1. I can manually code the font size and it's working consistently that way. So that's not really a huge deal. It's just removing what I added every time I re-edit that is irritating.

re 4. I can get the internal link to work, so again, not a huge deal.

#5 was the one that was really bothering me.

I think I may just write the code out in notepad or something and paste it in. Do you see any problem with that working?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

22 Nov 2009, 22:34

I did not have login access to your admin, so couldn't really take a look at the add-picture part.
jasonmerlo wrote:I think I may just write the code out in notepad or something and paste it in. Do you see any problem with that working?
Certainly nothing wrong with that, in fact it is recommended because you have full control of all tags. Of course, you need to be familiar with basic html tags. Images need to be embedded like this:
Code
<img src="path/to/image.jpg" width="x" height="x" />
Perhaps you should check in your source code if the img tags look like this when added through the editor? Then also double check the path? That would help explain why adding a picture isn't working ...

One thing that you need to be aware of from the start though when it comes to images in flash textfields. It is very difficult to try to tweak flash textfields to display special combinations of images+text. It doesnt flow flawlessly like it does from modern browsers, and this can drive you nuts. This is simply because flash textfields are mainly created for adding text, and it doesnt include modern methods for wrapping texts around an image.

Also, in the link below, you will find a list of HTML tags that you can use for flash textfields:
https://www.photo.gallery/v2docs/articles/textpages/