Class extending from DITASchemaManagerFilter does not work properly
Posted: Wed Dec 06, 2023 7:16 pm
Hi oXygen xml team.
I have an issue when I try to customize the standard auto-completion of oXygen in author mode. I have a class extending from DITASchemaManagerFilter and I am modifying the method filterElements(). In this method there is a new condition when the element is a note, then, I automatically add a child <p>
Unfortunately, it seems I am in the wrong method, my code does work in Text mode, but does not in Author mode. I notice that if I add the first note, the code does not add the paragraph but if I add a new note next to the first one, it works.
Does not work: Works: I suppose there is a different context so my changes must be made in another place but a I do not have a clue where those should be
I have an issue when I try to customize the standard auto-completion of oXygen in author mode. I have a class extending from DITASchemaManagerFilter and I am modifying the method filterElements(). In this method there is a new condition when the element is a note, then, I automatically add a child <p>
Unfortunately, it seems I am in the wrong method, my code does work in Text mode, but does not in Author mode. I notice that if I add the first note, the code does not add the paragraph but if I add a new note next to the first one, it works.
Does not work: Works: I suppose there is a different context so my changes must be made in another place but a I do not have a clue where those should be