> he "Taiwan is part of China" has been in the text book of China since the People's Republic of China founded
Well... The island has been a part of China historically, taken by the Japanese in the first Sino-Japanese war, and after WWII returned to China, which was in the middle of a civil war, in which the losing side ran away to the island. Their flag and official name are the ones of the Kuomintang party and regime, aforementioned losing side.
It'd be like if the CSA run away to Hawaii, assimilated the local population, called itself CSA with flag and all, and the USA still said from times to times it belongs to them.
And not only that, the UN and all members see it like that as well - officially and for diplomatic purposes, Taiwan doesn't exist and is a part of China.