RSS   Twitter   Copiny   Copiny
Нашел ошибку? 

Выдели фрагмент текста с ошибкой или неточностью и нажми Ctrl+Enter!

Редактор TinyMCE вырезает теги, как исправить?

В стандартном редакторе Joomla TinyMCE есть встроенная возможность отчищать сохраняемый текст перед занесением в базу данных. Рассчитано это для того чтобы сделать html код чистым и оптимизированным, закрывать не закрытые теги и убирать опечатки кода и неверные теги.

Но бывают случаи, когда редактор вырезает лишнее, например явно прописанные стили у картинок, некоторые специальные атрибуты.

Для того чтобы выключить очистку кода, зайдите в панели управления сайтом "Расширения / Менеджер плагинов", в общем списке найдите "Редактор - TinyMCE" и перейдите в редактирование настроек плагина. Справа вы увидите список настроек редактора, как на рисунке ниже

TinyMCE вырезает теги

Здесь нас интересуют  поля "Очищать код при запуске", "Очищать код при сохранении", "Запрещенные теги" и "Дополнительные валидные элементы". В последнее поле можете добавить теги вроде "noindex", которые иногда нужно применять для продвижения сайта.

Отключите очистку кода и сохраните новые настройки плагина. Больше редактор не будет вырезать html-теги.

Смотрите также:
Комментарии (52) Добавить комментарий
  • siroga
    siroga
    24 Апреля 2011, 09:32
     ↑  +2  ↓     ответ

    У меня MCE 3.2.2.3

    просто добавил noindex в "Дополнительные валидные элементы"

    чистку кода не отключал

  • edikss1
    edikss1
    13 Ноября 2011, 18:25
     ↑  +2  ↓     ответ

    Спасибо большое

  • draff
    draff
    20 Апреля 2015, 22:42
     ↑  0  ↓     ответ

    Ну явно ошибка. Если добавлять элемент в валидные, то код будет очищаться.

    Вопрос по тегу img . Нужно в него добавить микроразметку для снипппета, itemprop="image".

    Пробовал добавлять в валидные- img[itemprop] and img[*]

  • надежда
    надежда
    13 Февраля 2016, 01:40
     ↑  +1  ↓     ответ

    а где именно отключать очистку кода?

  • Тюрин Максим
    Тюрин Максим
    30 Января 2017, 12:35
     ↑  0  ↓     ответ

    Обновите статью для Joomla 3.x или добавьте ссылку для тех, кому интересно

  • edit HTML
    edit HTML
    03 Мая 2018, 22:00
     ↑  0  ↓     ответ

    You can certainly see your enthusiasm in the article you write.

    The sector hopes for more passionate writers like you who are not afraid

    to mention how they believe. All the time follow your heart.

  • online HTML editor
    online HTML editor
    03 Мая 2018, 22:00
     ↑  0  ↓     ответ

    For newest information you have to go to see the web and on web I found this

    site as a best website for most up-to-date updates.

  • edit HTML
    edit HTML
    15 Мая 2018, 08:56
     ↑  0  ↓     ответ

    Thank you for some other informative web site. The place else may I am getting

    that kind of information written in such a perfect method?

    I've a project that I am just now running on, and I have been at the look out for such information.

  • edit HTML
    edit HTML
    15 Мая 2018, 08:56
     ↑  0  ↓     ответ

    It's awesome designed for me to have a website, which is good in support of my experience.

    thanks admin

  • edit HTML
    edit HTML
    15 Июня 2018, 08:46
     ↑  0  ↓     ответ

    Hi, I do think this is an excellent site. I stumbledupon it ;) I

    am going to come back once again since I book marked it. Money

    and freedom is the greatest way to change, may you be

    rich and continue to help other people.

  • online HTML editor
    online HTML editor
    16 Июня 2018, 11:18
     ↑  0  ↓     ответ

    Hi there, this weekend is fastidious designed

    for me, since this point in time i am reading this impressive informative post here at my home.

  • edit HTML online
    edit HTML online
    25 Июня 2018, 20:42
     ↑  0  ↓     ответ

    Oh my goodness! Amazing article dude! Thanks, However I am experiencing issues with your

    RSS. I don't understand why I cannot join it. Is there anyone else having the same RSS issues?

    Anybody who knows the answer can you kindly respond?

    Thanx!!

  • HTML editor
    HTML editor
    26 Июня 2018, 03:25
     ↑  0  ↓     ответ

    Wonderful post however , I was wondering if you could write a litte more

    on this subject? I'd be very thankful if you could elaborate

    a little bit further. Many thanks!

  • HTML editor
    HTML editor
    05 Июля 2018, 16:22
     ↑  0  ↓     ответ

    Wonderful blog you have here but I was curious if you knew of any forums that cover

    the same topics discussed here? I'd really love

    to be a part of community where I can get feed-back from other knowledgeable individuals

    that share the same interest. If you have any recommendations, please let me know.

    Thanks!

  • edit HTML online
    edit HTML online
    08 Июля 2018, 19:49
     ↑  0  ↓     ответ

    I am not sure where you are getting your information, but great topic.

    I needs to spend some time learning more or understanding more.

    Thanks for great info I was looking for this info for my

    mission.

  • edit HTML
    edit HTML
    09 Июля 2018, 14:38
     ↑  0  ↓     ответ

    Hello there, just became aware of your blog through Google,

    and found that it's truly informative. I'm going to watch out for brussels.

    I'll appreciate if you continue this in future.

    Lots of people will be benefited from your writing.

    Cheers!

  • edit HTML
    edit HTML
    15 Июля 2018, 12:58
     ↑  0  ↓     ответ

    I’m not that much of a online reader to be honest but your sites really

    nice, keep it up! I'll go ahead and bookmark your website to

    come back later on. All the best

  • online HTML editor
    online HTML editor
    16 Июля 2018, 14:43
     ↑  0  ↓     ответ

    I don't even know the way I finished up here, but I believed this put up

    used to be great. I do not know who you're however certainly you are going to a well-known blogger for those who are not already.

    Cheers!

  • edit HTML online
    edit HTML online
    20 Июля 2018, 23:07
     ↑  0  ↓     ответ

    Fantastic blog! Do you have any helpful hints for

    aspiring writers? I'm planning to start my own site soon but I'm

    a little lost on everything. Would you propose starting with a free platform like Wordpress or go for a paid option?

    There are so many choices out there that I'm totally confused

    .. Any ideas? Kudos!

  • HTML editor
    HTML editor
    25 Июля 2018, 07:55
     ↑  0  ↓     ответ

    I'm not sure why but this weblog is loading extremely slow

    for me. Is anyone else having this problem or is it a issue on my end?

    I'll check back later on and see if the problem still exists.

  • minecraft
    minecraft
    23 Сентября 2018, 16:25
     ↑  0  ↓     ответ

    You actually make it seem so easy with your presentation but I find this topic to be really something that I think I

    would never understand. It seems too complex and extremely broad for me.

    I am looking forward for your next post, I'll try to get the hang of it!

  • minecraft
    minecraft
    24 Сентября 2018, 23:29
     ↑  0  ↓     ответ

    you're truly a excellent webmaster. The site loading speed is incredible.

    It kind of feels that you are doing any unique trick.

    In addition, The contents are masterwork. you have performed a magnificent task on this topic!

  • minecraft
    minecraft
    27 Сентября 2018, 21:08
     ↑  0  ↓     ответ

    Howdy! I just want to give you a huge thumbs up for your excellent info

    you have got right here on this post. I'll be coming back to your site for more soon.

  • minecraft
    minecraft
    29 Сентября 2018, 04:28
     ↑  0  ↓     ответ

    There's definately a lot to know about this issue.

    I like all the points you have made.

  • minecraft
    minecraft
    30 Сентября 2018, 04:30
     ↑  0  ↓     ответ

    Hi my loved one! I wish to say that this article is awesome, nice written and include approximately all important infos.

    I would like to see extra posts like this .

  • bit.ly
    bit.ly
    17 Октября 2018, 06:49
     ↑  0  ↓     ответ

    Hi every one, here every one is sharing these

    experience, so it's good to read this website, and I used to pay a quick visit this web site daily.

  • minecraft
    minecraft
    25 Марта 2019, 02:12
     ↑  0  ↓     ответ

    When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve 4

    emails with the exact same comment. Perhaps there is an easy method you are

    able to remove me from that service? Thanks a lot!

  • minecraft
    minecraft
    27 Марта 2019, 05:27
     ↑  0  ↓     ответ

    Remarkable issues here. I'm very satisfied to see your article.

    Thank you a lot and I am taking a look ahead to contact

    you. Will you kindly drop me a e-mail?

  • minecraft
    minecraft
    28 Марта 2019, 19:59
     ↑  0  ↓     ответ

    Useful information. Lucky me I found your web site by chance, and I'm shocked why this twist of fate did not took place earlier!

    I bookmarked it.

  • minecraft
    minecraft
    14 Апреля 2019, 09:26
     ↑  0  ↓     ответ

    Today, I went to the beach with my children. I found a sea shell and gave it to my

    4 year old daughter and said "You can hear the ocean if you put this to your ear." She put the shell to her ear and screamed.

    There was a hermit crab inside and it pinched her

    ear. She never wants to go back! LoL I know this is completely off topic but I had

    to tell someone!

  • tinyurl.com
    tinyurl.com
    14 Апреля 2019, 10:47
     ↑  0  ↓     ответ

    you are truly a just right webmaster. The website loading speed is amazing.

    It seems that you're doing any distinctive trick.

    Furthermore, The contents are masterwork. you've performed a magnificent process in this subject!

  • minecraft
    minecraft
    15 Апреля 2019, 10:13
     ↑  0  ↓     ответ

    Hey there! Do you know if they make any plugins to safeguard against hackers?

    I'm kinda paranoid about losing everything I've worked hard on. Any tips?

  • tinyurl.com
    tinyurl.com
    16 Апреля 2019, 21:31
     ↑  0  ↓     ответ

    Excellent web site you have here.. It's hard to find quality writing like yours these days.

    I truly appreciate individuals like you! Take care!!

  • minecraft
    minecraft
    18 Апреля 2019, 00:51
     ↑  0  ↓     ответ

    Incredible! This blog looks exactly like my old one!

    It's on a completely different topic but it has pretty much the same page

    layout and design. Great choice of colors!

  • minecraft
    minecraft
    20 Апреля 2019, 05:57
     ↑  0  ↓     ответ

    Heya i am for the first time here. I found this board and I find It truly helpful & it helped me out much.

    I am hoping to present something again and help others

    like you aided me.

  • minecraft
    minecraft
    22 Апреля 2019, 06:01
     ↑  0  ↓     ответ

    It is not my first time to pay a visit this web page, i

    am visiting this web site dailly and get nice data

    from here daily.

  • minecraft
    minecraft
    22 Апреля 2019, 15:43
     ↑  0  ↓     ответ

    Oh my goodness! Incredible article dude! Thank you so much, However I

    am having difficulties with your RSS. I don't understand

    the reason why I cannot join it. Is there anyone

    else having similar RSS problems? Anyone who knows the solution will you kindly respond?

    Thanx!!

  • minecraft
    minecraft
    25 Апреля 2019, 09:42
     ↑  0  ↓     ответ

    If some one needs to be updated with most recent technologies therefore he must be go to see this website and be up to date

    all the time.

  • http://tinyurl.com/
    http://tinyurl.com/
    27 Апреля 2019, 03:39
     ↑  0  ↓     ответ

    I don't even know how I ended up here, but I thought this post was good.

    I do not know who you are but certainly you're going to a

    famous blogger if you are not already ;) Cheers!

  • nail salon breda
    nail salon breda
    28 Апреля 2019, 12:11
     ↑  0  ↓     ответ

    Fine way of explaining, and fastidious article to obtain facts about

    my presentation subject, which i am going to convey in institution of higher education.

  • minecraft
    minecraft
    28 Апреля 2019, 16:22
     ↑  0  ↓     ответ

    Hi to all, how is the whole thing, I think every one is getting more from this web page,

    and your views are pleasant designed for new users.

  • nail studio breda
    nail studio breda
    30 Апреля 2019, 10:03
     ↑  0  ↓     ответ

    Howdy! This is kind of off topic but I need some help from an established

    blog. Is it difficult to set up your own blog? I'm not very techincal but I can figure things out pretty quick.

    I'm thinking about making my own but I'm not sure where to start.

    Do you have any tips or suggestions? Appreciate it

  • minecraft
    minecraft
    01 Мая 2019, 04:45
     ↑  0  ↓     ответ

    I am curious to find out what blog platform you happen to be using?

    I'm experiencing some minor security problems with my latest

    blog and I'd like to find something more safe. Do you have

    any solutions?

  • nail studio breda
    nail studio breda
    08 Мая 2019, 11:24
     ↑  0  ↓     ответ

    I am regular visitor, how are you everybody? This paragraph posted at this web site is really nice.

  • boekhouding zzp
    boekhouding zzp
    13 Мая 2019, 22:35
     ↑  0  ↓     ответ

    Awesome things here. I am very satisfied to peer your post.

    Thanks so much and I am having a look forward to touch you.

    Will you please drop me a e-mail?

  • salary administration breda
    salary administration breda
    17 Мая 2019, 02:19
     ↑  0  ↓     ответ

    I got this website from my friend who shared

    with me regarding this website and at the moment this time I

    am visiting this site and reading very informative articles or reviews at this place.

  • how to get help in windows 10
    how to get help in windows 10
    20 Мая 2019, 15:44
     ↑  0  ↓     ответ

    Undeniably believe that which you said. Your favorite justification appeared to

    be on the internet the simplest thing to be aware of. I say to you, I definitely get annoyed

    while people consider worries that they just don't

    know about. You managed to hit the nail upon the top and also defined

    out the whole thing without having side effect , people can take a signal.

    Will likely be back to get more. Thanks

  • Fuck Girls Online
    Fuck Girls Online
    21 Мая 2019, 01:50
     ↑  0  ↓     ответ

    I do not know if it's just me or if perhaps everybody else encountering problems with your

    website. It appears like some of the written text in your posts are running off the screen. Can somebody else please provide feedback and let me

    know if this is happening to them as well? This could be a problem with my internet browser because I've

    had this happen before. Many thanks

  • Puffy Nipples
    Puffy Nipples
    21 Мая 2019, 15:43
     ↑  0  ↓     ответ

    I simply couldn't depart your web site prior to suggesting that

    I actually loved the standard info a person supply on your guests?

    Is going to be again often in order to inspect new posts

  • gamefly free trial
    gamefly free trial
    25 Мая 2019, 19:19
     ↑  0  ↓     ответ

    We're a group of volunteers and starting a brand new scheme in our community.

    Your site provided us with helpful information to work

    on. You've done a formidable activity and

    our whole neighborhood shall be thankful to you.

  • Acryl nails
    Acryl nails
    29 Мая 2019, 18:47
     ↑  0  ↓     ответ

    My brother suggested I would possibly like this website. He used to be totally

    right. This put up truly made my day. You can not consider simply how so much time I

    had spent for this information! Thank you!

  • boekhouding zzp
    boekhouding zzp
    14 Июня 2019, 22:14
     ↑  0  ↓     ответ

    After looking at a handful of the blog articles on your blog, I

    honestly like your way of writing a blog. I saved as a favorite it to my bookmark webpage list and will

    be checking back soon. Please visit my website too and

    let me know what you think.

Оставить комментарий




* обязательно для заполнения

1 введенный почтовый адрес используется только для обратной связи при ответах в комментариях и сервиса gravatar.com
.