Injected languages formatting

How to make injected language formatting?

Got composite element injected with other language.
This composite element wrapped in the leaf formatting block without subblocks.

Re-formatting does nothing with this block's content.

2 comments
Comment actions Permalink

When child blocks are requested from the block wrapping the composite element in buildChildren() method, you may use InjectedLanguageBlockBuilder.addInjectedBlocks() to add child blocks for the injected language.

0

Please sign in to leave a comment.