1.. include:: ../../Includes.txt 2 3===================================================================== 4Breaking: #79300 - Removed RTE proc.transformBoldAndItalicTags option 5===================================================================== 6 7See :issue:`79300` 8 9Description 10=========== 11 12The RTE processing TSconfig option `RTE.default.proc.transformBoldAndItalicTags` has been removed from the processing 13functionality. 14 15It was a shortcut to change all :html:`<b>` and :html:`<i>` tags coming from the database to :html:`<strong>` and :html:`<em>` when loading the RTE. In return 16when storing the content again from the RTE, the :html:`<strong>` and :html:`<em>` tags were moved to :html:`<b>` and :html:`<i>` again. 17 18If an integrator wanted to explicitly disable this functionality (basically having :html:`<strong>` and :html:`<em>` in the database), he/she needed 19to explicitly disable the option (setting it to "0", not just unsetting the option via PageTSconfig). 20 21 22Impact 23====== 24 25Setting this option does not transform the tags anymore when loading the RTE or storing in DB. Instead, :html:`<strong>` and :html:`<em>` are stored 26in the database when editing a record. 27 28 29Affected Installations 30====================== 31 32Any installation having custom RTE configuration and explicitly setting this option without having a proper HTMLparser replacement 33mapping in place. 34 35 36Migration 37========= 38 39Any default configuration of RTEHtmlArea that was in place before 8.6.0 has a simple replacement to ensure the same functionality now: 40 41This code does the same as having :ts:`proc.transformBoldAndItalicTags=1`: 42 43.. code-block:: typoscript 44 45 RTE.default.proc { 46 # make <strong> and <em> tags when sending to the RTE 47 HTMLparser_rte { 48 tags { 49 b.remap = strong 50 i.remap = em 51 } 52 } 53 # make <b> and <i> tags when sending to the DB 54 HTMLparser_db { 55 tags { 56 strong.remap = B 57 em.remap = I 58 } 59 } 60 } 61 62If having the option explicitly turned off (allowing strong, b, em, and i tags) is what is wanted the configuration should look like this: 63 64.. code-block:: typoscript 65 66 RTE.default.proc { 67 # no remapping should happen, tags should stay as they are 68 HTMLparser_rte { 69 tags { 70 b.remap > 71 i.remap > 72 } 73 } 74 # no remapping should happen, tags should stay as they are 75 HTMLparser_db { 76 tags { 77 strong.remap > 78 em.remap > 79 } 80 } 81 } 82 83Please note that this migration is only necessary if custom RTE options are in place, as the default RTE HTMLArea configuration does that 84automatically. 85 86.. index:: RTE, TSConfig 87