TL;DR
If you reside in France and are paid by France, your salary remains taxable in France when you teach temporarily in Belgium. The exception applies to an assignment lasting no more than two years; special cases exist.
The exception for teachers on temporary assignment
The exception applies to teaching staff who reside in one of the two States and temporarily travel to the other to teach at a university, a lycée, a collège, a school or any other educational institution in that other State for a period not exceeding two years.1
Teaching staff who reside in one of the two States and temporarily travel to the other to teach at an institution in that other State are not taxable in the State of temporary stay on the remuneration they receive there for their teaching during that period, if it does not exceed two years.1
The remuneration in question, received by professors and other members of the teaching staff of a Contracting State who travel to the other Contracting State to teach there for a period not exceeding 2 years at a university, a lycée, a collège, a school or any other educational institution, is excluded from the frontier-worker regime.2
The salary paid by France remains taxable in France
Salaries, wages, emoluments, pay and pensions paid by one of the Contracting States or by a public-law legal entity of that State are, as a general rule, taxable only in the State of the payer. This rule does not apply when the recipient resides in the other State and is a national of that other State.1
For the salary paid to them by France, they remain liable for tax in France, under the general rule of the convention.1
Belgian teachers who come to France under the same conditions are in no case taxable in France, even on the remuneration paid to them by France.1