in my editor plugin (https://moodle.org/plugins/editor_edusharing) i set some parameters in get_init_params(). Generally that all works well, but now i recognized, that if the editor is used within a forum post (also wiki, perhaps other activities as well) the parameter "extend_valid_elements" does not work. On editor save certain custom object attributes are removed from an object.
If the editor is used for editing course content or even in the forum topic description the custom attributes are recognized.
Perhaps these settings get overridden at some point but i could not find any hint.
Can somebody help?