kopia lustrzana https://github.com/wagtail/wagtail
Fix class selector mapping (#5571)
The markup is wrong which results in code not working properly.pull/5576/head
rodzic
c9b93c04fb
commit
90b7a3b0d3
|
@ -404,6 +404,7 @@ Contributors
|
|||
* Eduard Luca
|
||||
* Kiril Staikov
|
||||
* Saptak Sengupta
|
||||
* Dawid Bugajewski
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -105,7 +105,7 @@ Blocks are nearly as simple as inline styles:
|
|||
)
|
||||
|
||||
features.register_converter_rule('contentstate', feature_name, {
|
||||
'from_database_format': {'div.help-text': BlockElementHandler(type_)},
|
||||
'from_database_format': {'div[class=help-text]': BlockElementHandler(type_)},
|
||||
'to_database_format': {'block_map': {type_: {'element': 'div', 'props': {'class': 'help-text'}}}},
|
||||
})
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue