News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

I need someone to check the index.CSS

Started by DenDen60, March 08, 2017, 09:31:25 AM

Previous topic - Next topic

DenDen60

For one reason or another when cut and paste text, or when I delete a character or a line, or I make a backspace, [size=78%]the font or the size of the font changes. Sometimes code appears. [/size]


It just actually happened here as I wrote the text. When I did a backspace in front of this text: "[/size]the font or the size" the font changed. Code appears. Why is this?

DenDen60

When I published the post, part ot the text was the right size but the code appeared. [size=0px] [/size][/size][size=0px][/size][size=78%] [/size][size=0px][/size][size=0px]
[/size]
[/size][size=0px]I thought this was only on my theme, but it seems to be affecting SMF core theme as well.[/size]
[/size]
[/size]

Illori


Gary

Also, don't use pixel or percentage based sizes, use points or preset levels (with 1 being the smallest and 7 being the largest)
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

DenDen60

Quote from: Illori on March 08, 2017, 09:59:19 AM
dont use the WYWISYG editor


This might be a good idea for some sites, but this is not a good idea for mine. We need a process by which people can present information in a more structured way and most users are not coders.


What creates this problem? Is it a CSS issue?

DenDen60

Quote from: Gary on March 08, 2017, 10:44:03 AM
Also, don't use pixel or percentage based sizes, use points or preset levels (with 1 being the smallest and 7 being the largest)


Thank you for the suggestion. How do I do this?

Steve

There are a number of issues with the WYWISYG editor which is why it's being replaced in 2.1 ... as for your question, it's best not to use it at all in any prior version but if you must just use what Gary said. For example:

[size=14pt]14 point text[/size] = 14 point text or [size=3]size 3 text[/size] = size 3 text etc.
My pet rock is not feeling well. I think it's stoned.

Illori

The editor is adding all that, so without replacing the editor there is no way to stop that from showing up.

DenDen60

Quote from: Steve on March 08, 2017, 12:13:55 PM
There are a number of issues with the WYWISYG editor which is why it's being replaced in 2.1 ... as for your question, it's best not to use it at all in any prior version but if you must just use what Gary said. For example:

[size=14pt]14 point text = 14 point text or [size=3]size 3 text = size 3 text etc.


Either I did not realize this over the years, but I thought this was a new issue. :-( I don't recall having that problem in the first version of smf 2. :-(


Questions.


Is there a list of these known issues?
What would someone need to do to solve these issues?


As for the pixel/percentage question, my question was, is there somewhere, for example in index.css or in an administration area that this can be change automatically?


Thanks for the examples. However again, for my users, this is a form of coding. I will see what I can do.




n issue I might have been

DenDen60

Quote from: Illori on March 08, 2017, 12:23:37 PM
The editor is adding all that, so without replacing the editor there is no way to stop that from showing up.


Thanks.


Is there a particular action that creates this?


How much work would it take to modify the editor so that this behavior is eliminated?

Arantor

This is a bug that has been around sihce at least 2009. No one has yet managed to solve it which is why it was decided five years ago to ditch the editor for a new one.
Holder of controversial views, all of which my own.


DenDen60

Quote from: Arantor on March 08, 2017, 12:32:09 PM
This is a bug that has been around sihce at least 2009. No one has yet managed to solve it which is why it was decided five years ago to ditch the editor for a new one.


Thanks for the info.

Advertisement: