The plant-eating dinosaurs over the time they existed should have developed a system for dealing with a readily available plant source,that was toxic i.e. the cycads.
Fascinating question! I seem to remember, dredging memory, that an eminent entomologists from the University of Bristol (whose name I am unable to recall) suggested that angiosperm flowers were warning colours to herbivorous ceratopsian reptiles. Folowing from that thread comes the roles of the flamboyant reproductive structures of some Bennititales being more than for pollen movement.
Modern (and ancient cycads?) contain various secondary compounds, poisonous fruits (for some possible consumers), lots of phenols, and are immensely tough and fibrous. Such features would deter many kinds of herbivores. Those that could ingest and digest cycad vegetation would presumably have had a suite of character to allow for that, including detoxification systems (enzymes and gut symbionts), complex guts with caeca (as in many modern birds), continually growing teeth, and powerful jaws.
Great debate! Two very naïve questions. Is there evidence that all cycads from the Mesozoic were toxic? Is it possible that the toxic ones remained longer on Earth and were easily fossilized?