DAUVRAY, Helen
<p><span>Actress Helen Dauvray was born in San Francisco, California, on Valentine's Day in 1859. She made her acting debut in the same city, just five years later. </span><br /><br /><span>"Little Nell, the California Diamond," as she was known, had a very successful career in New York City. During her career, she worked with theatre giants such as actor Junius Brutus Booth, actress Matilda Heron, and playwright Bronson Howard. Helen married baseball player John Montgomery Ward in 1887, but the marriage was not a happy one and they divorced in 1893. Despite the troubles in her personal life, Helen was flourishing in her professional life. During the 1890s, she had her own theatre company.</span></p>
<p><span>She performed in Honolulu in 1895 and then headed to Australia to perform there. On the way, Helen met and began her relationship with Admiral Albert Gustav Winterhalter. After they married in 1896, she retired from the stage for several years. Eventually, Helen began to act again. </span></p>
<p><span>Helen passed away on December 3, 1923, and was buried next to her husband in Arlington National Cemetery.</span></p>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<div id="nlfeatures2551_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures2551_",
name_prefix: "nlfeatures2551_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-13632238.24465 4545866.1849153)",
zoom: 7,
center: {
lon: "-13572770.2366520",
lat: "4504281.2021619" },
base_layer: "osm",
text: "POINT(-13632238.24465 4545866.1849153)|7|-13572770.2366520|4504281.2021619|osm\r\nHelen Dauvray was born in San Francisco, CA on February 14, 1859.",
is_html: false,
is_map: 1 }
};
$("#nlfeatures2551_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>
PARKHURST, Mrs. Emelie Tracy Y. Swett
<span>Emelie Tracy Y. Swett Parkhurst was born in San Francisco, California, on March 9, 1863. </span><br /><br /><span>During her career, Emelie was an author, a biographer, a poet, a music teacher, and a playwright. She created the Pacific Coast Literary Bureau and was a founder of the Pacific Coast Women's Press Association in 1890. Emilie contributed to </span><em>California Literary Magazine</em><span>, </span><a href="http://marykatemcmaster.org/WOC/items/show/121" target="_blank" rel="noopener"><em>Magazine of Poetry</em></a><span>, </span><em>Overland Monthly,</em><span> and </span><em>San Francisco Chronicle</em><span>. She also became one of the many contributors to <em>A Woman of the Century. </em></span><br /><br /><span>She married John W. Parkhurst, a banker, in 1889. Emelie's personal network also included </span><a href="http://marykatemcmaster.org/WOC/items/show/62" target="_blank" rel="noopener">Ella Rhoads Higginson</a><span> and </span><a href="http://marykatemcmaster.org/WOC/items/show/101" target="_blank" rel="noopener">Helen Hunt Jackson</a><span> </span><br /><br /><span>A short time after giving birth to her daughter, twenty-nine-year-old Emeline passed away in San Francisco on April 21, 1892. Emelie was buried in Oakland's Mounta</span><span>in View Cemetery</span><em>.</em>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<div id="nlfeatures2520_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures2520_",
name_prefix: "nlfeatures2520_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-13627938.66181 4549904.8069638)",
zoom: 12,
center: {
lon: "-13628454.6117500",
lat: "4549391.8428443" },
base_layer: "osm",
text: "POINT(-13627938.66181 4549904.8069638)|12|-13628454.6117500|4549391.8428443|osm\r\nEmelie Tracy Y. Swett Parkhurst was born in San Francisco, CA on March 9, 1863.",
is_html: false,
is_map: 1 }
};
$("#nlfeatures2520_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>
DYER, Mrs. Clara L. Brown
<div>
<p><span>Clara L. Brown Dyer, who was born in Cape Elizabeth, Maine, on March 13, 1849, came from a family with a long history in New England. Her relatives served in the Revolutionary War, the War of 1812, and the Civil War. One ancestor (Job Tyler) was reputed to have been the first settler of Andover, Massachusetts, and the Tyler Family Association dedicated a monument in North Andover to his memory in 1901.</span></p>
<p><span>As a child, Clara often accompanied her father, a master mariner, on his voyages. One can only surmise that she inherited his love of the outdoors, because Clara distinguished herself as a landscape artist. A resident of Portland, Maine, Clara made many fine sketches of the scenery around Casco Bay as well as in the Sierras and Yosemite Valley. Her work appeared at the Boston Art Club for four successive years, in all the Portland Society of Art exhibitions, and the San Francisco Midwinter Fair exhibition. Having mastered her craft, she also decided to teach drawing and painting at the Westbrook Seminary in Portland, Maine. </span></p>
<p><span>In addition to her artistic pursuits, Clara also became a powerful contributor to Portland's club work. She was notably the organizer and President of the National Society of United States Daughters of 1812, State of Maine, and Third Vice-President of the National Society. Clara also served as one of the directors of the Woman's Literary Union and as a member of the Committee on Resolutions for Portland's Mutual Improvement Club.</span></p>
<p><span>Clara passed away on March 1, 1931, and was buried in Evergreen Cemetery,</span></p>
</div>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=Ravitz%2C+Amy">Ravitz, Amy</a>
<div id="nlfeatures2330_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures2330_",
name_prefix: "nlfeatures2330_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-7815552.376272 5397783.7374279)|POINT(-7820990.8703672 5412893.2277819)",
zoom: 12,
center: {
lon: "-7815686.1410716",
lat: "5397576.5214217" },
base_layer: "osm",
text: "POINT(-7815552.376272 5397783.7374279)|POINT(-7820990.8703672 5412893.2277819)|12|-7815686.1410716|5397576.5214217|osm\r\nClara L. Brown Dyer was born in Cape Elizabeth, ME on March 13, 1849. She later lived in Portland, ME.",
is_html: false,
is_map: 1 }
};
$("#nlfeatures2330_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>
COOLBRITH, Mrs. Ina Donna
<p><span>Ina Donna Coolbrith, who was born in Nauvoo, Illinois, on March 10, 1841, grew up in California and became its Poet Laureate.</span><br /><br /><span>During her prolific writing career, Ina contributed to </span><em>Overland Monthly</em><span> and later ran it with Bret Harte and Charles Warren Stoddard. She also contributed to </span><em>Californian</em><span>, </span><a href="http://marykatemcmaster.org/WOC/items/show/31" target="_blank" rel="noopener"><em>Century</em>,</a><span> </span><em><a href="http://marykatemcmaster.org/WOC/items/show/34" target="_blank" rel="noopener">Galaxy</a></em><span>, </span><em><a href="http://marykatemcmaster.org/WOC/items/show/33" target="_blank" rel="noopener">Harper's Magazine,</a></em><span> and </span><em>Scribner's Magazine</em><span>.</span><br /><br /><span>Also a librarian, she played a positive role in the lives of many young readers, including Jack London. A 1919 </span><a href="http://chroniclingamerica.loc.gov/lccn/sn83030431/1919-12-07/ed-1/seq-75/#date1=1789&index=0&rows=20&words=Coolbrith&searchType=basic&sequence=0&state=&date2=1924&proxtext=coolbrith&y=0&x=0&dateFilterType=yearRange&page=1" target="_blank" rel="noopener"><em>New York Sun</em> article </a><span>about Coolbrith quotes London's recollections about Ina:</span><br /><br /><span>"No woman has affected me to the extent you did. I was only a little lad, I knew nothing about you, yet in all the years that have passed, I have met no woman so 'noble' as you. I have never seen you since those library days, yet the memory picture I retain of you is as vivid as any I possess."</span></p>
<p><span>Ina passed away in Berkeley, California on February 29, 1928. She was buried in Oakland, California's Mountain View Cemetery.</span></p>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<div id="nlfeatures2732_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures2732_",
name_prefix: "nlfeatures2732_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-8233098.8992683 4981154.160189)|POINT(-13161805.359807 4034878.0820932)|POINT(-13630286.711772 4542018.6554377)|POINT(-13611236.573968 4551621.0571147)|POINT(-10172751.79115 4946100.0195896)|POINT(-13611510.672376426 4561058.044285167)",
zoom: 11,
center: {
lon: "-10172914.5184190",
lat: "4943419.9462856" },
base_layer: "osm",
text: "POINT(-8233098.8992683 4981154.160189)|POINT(-13161805.359807 4034878.0820932)|POINT(-13630286.711772 4542018.6554377)|POINT(-13611236.573968 4551621.0571147)|POINT(-10172751.79115 4946100.0195896)|POINT(-13611510.672376426 4561058.044285167)|11|-10172914.5184190|4943419.9462856|osm\r\nIna Donna Coolbrith was born in Nauvoo, IL on March 10, 1841. She later lived in Los Angeles, CA;, Oakland, CA;, San Francisco, CA, New York, NY, and Berkeley, CA.",
is_html: false,
is_map: 1 }
};
$("#nlfeatures2732_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>
LOUGHEAD, Mrs. Flora Haines
<p><span>Author Flora Haines Loughead was born in Milwaukee, Wisconsin on July 12, 1855. By 1870, her family had moved to West Lincoln, Ilinois. Flora graduated from Lincoln University in 1872. She married Charles E. Apponyi in Sacramento in August of 1875. Eleven years later, after divorcing her husband, Flora married John Loughead in San Francisco, California. She had children with both husbands. </span></p>
<p><span>Flora was the author of and a contributor to many books, including the 1898 novel </span><em><a href="https://archive.org/details/blackcurtain00compgoog/page/n8/mode/2up" target="_blank" rel="noopener">The Black Curtain</a>. </em>She also <span>edited </span><a href="https://babel.hathitrust.org/cgi/pt?id=uc1.$b235126;view=1up;seq=11" target="_blank" rel="noopener"><em>Life, Diary and Letters of Oscar Lovell Shafter, Associate Justice, Supreme Court of California, January 1, 1864, to December 31, 1868</em></a><span>, in 1915. In 1899, </span><a href="https://cdnc.ucr.edu/cgi-bin/cdnc?a=d&d=LAH18990305.2.164&srpos=42&e=-------en--20--41--txt-txIN-Flora+Haines+Loughead-------1" target="_blank" rel="noopener">Flora</a><span> accused Charles H. Hoyt of plagiarizing books she had written in the early 1890s for his play "A Contented Woman."</span><br /><br /><span>In addition to penning her books, Flora also wrote for newspapers and periodicals. In 1895, she was writing for </span><a href="https://cdnc.ucr.edu/cgi-bin/cdnc?a=d&d=SFC18950413.2.102&srpos=12&e=-------en--20--1--txt-txIN-Flora+Haines+Loughead-------1" target="_blank" rel="noopener"><em>The San Francisco Call</em></a><span>. Flora was a contributor to </span><em>Household </em><span>in 1903, and "When The Prince Came," her story about California, began its run as a serial in the June 1905 edition of </span><em>Sunset Magazine</em><span>. By 1908, Flora was editing for </span><a href="https://cdnc.ucr.edu/cgi-bin/cdnc?a=d&d=SBWP19080220.2.16&srpos=4&e=-------en--20--1--txt-txIN-Flora+Haines+Loughead-------1" target="_blank" rel="noopener"><em>The San Francisco Chronicle</em></a><span>.</span><br /><br /><span>During her career, Flora became friends with </span><a href="http://marykatemcmaster.org/WOC/items/show/101" target="_blank" rel="noopener">Helen Hunt Jackson</a><span> and many other writers.</span><br /><br /><span>Also very interested in libraries, she wrote </span><a href="https://babel.hathitrust.org/cgi/pt?id=uc1.b4381336;view=1up;seq=9" target="_blank" rel="noopener"><em>The Libraries of California: Containing Descriptions of the Principal Private and Public Libraries Throughout the State</em></a><span> in 1878,</span><br /><br /><span>By 1897, Flora was a member of the Woman's Parliament of Southern California. That October, she was one of many participants at the </span><a href="https://cdnc.ucr.edu/cgi-bin/cdnc?a=d&d=LAH18971010.2.75&srpos=28&e=-------en--20--21--txt-txIN-Flora+Haines+Loughead-------1" target="_blank" rel="noopener">Woman's Parliament's convention</a><span> in Los Angeles.</span><br /><br /><span>After Florence and John's divorce, she married David A. Guitierrez, who was twelve years her junior, in November of 1908. </span><br /><br /><span>During the 1930s, Flora lived at 1871 Park Drive in Los Angeles. She later moved to Alameda, where she passed away on January 27, 1943. She was buried in Mountain View Cemetery, Oakland, California.</span></p>
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<div id="nlfeatures1955_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures1955_",
name_prefix: "nlfeatures1955_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-9790589.640600614 5317330.779347554)|POINT(-11685535.23124 4825343.8468585)|POINT(-13326164.677018 4085595.841846)|POINT(-13608117.435625 4546121.7712287)|POINT(-9952788.4174363 4888433.0590706)|POINT(-13630765.637528 4545851.8529727)|POINT(-13163409.035159536 4040147.0118564)",
zoom: 10,
center: {
lon: "-9786426.2112174",
lat: "5310353.5118603" },
base_layer: "osm",
text: "POINT(-9790589.640600614 5317330.779347554)|POINT(-11685535.23124 4825343.8468585)|POINT(-13326164.677018 4085595.841846)|POINT(-13608117.435625 4546121.7712287)|POINT(-9952788.4174363 4888433.0590706)|POINT(-13630765.637528 4545851.8529727)|POINT(-13163409.035159536 4040147.0118564)|10|-9786426.2112174|5310353.5118603|osm\r\nFlora Haines Loughead was born in Milwaukee, WI on July 12, 1855. She later lived in West Lincoln, IL, Denver, CO, Santa Barbara, CA, San Francisco, CA, Alma, Ca, Los Angeles, CA, and Alameda, CA.",
is_html: false,
is_map: 1 }
};
$("#nlfeatures1955_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>
BAKER, Mrs. Charlotte Johnson
Charlotte Johnson Baker, who was born on March 30, 1855, in Newburyport, MA, was educated in her town high school and Vassar College. Later, she earned her medical degree at the University of Michigan.<br /><br />She and her husband, also a doctor, moved to San Diego and practiced there. In a 2016 <a href="https://obhistory.wordpress.com/2016/07/22/aug-18-fred-baker-m-d-pioneer-san-diego-physician-and-civic-activist/" target="_blank" rel="noopener">article</a>, a descendant described Charlotte as "the first female M.D. in San Diego, who was well known for delivering over 1,000 babies." Dr. Baker, a parent of two, had a keen interest in the idea of parents having equal participation in child-raising.<br /><br />In addition to spending her time with patients and raising her family, Charlotte was active in a variety of professional activities. She was elected president of the San Diego County Medical Society in 1898 and was a member of the Southern California Anti-Tuberculosis League<br /><br />Dedicated to reform, Charlotte was a member of the WCTU and advocated for women's causes. As her profile notes, "Dr. Baker has always identified herself with the Woman's Christian Temperance Union and with all other movements for the advancement of women individually, socially, and politically" (46).<br /><br />Charlotte played a prominent role in the California Equal Suffrage Association and the San Diego Equal Suffrage Association. In addition, she was a member of the National American Woman Suffrage Association, the Woman’s Parliament of Southern California, and the Y.W.C.A. of the Southwest, <br /><br />Since she loved to travel, Charlotte sometimes returned to Massachusetts to visit family members. She and Fred were avid bug collectors, and in October of 1913, they went on a bug collecting trip around the world. When they returned, she continued her medical career and her pursuit of equal suffrage. <br /><br />She passed away on Halloween in 1937 and was buried in San Diego's Greenwood Memorial Park.
<a href="/WOC/items/browse?advanced%5B0%5D%5Belement_id%5D=37&advanced%5B0%5D%5Btype%5D=is+exactly&advanced%5B0%5D%5Bterms%5D=McMaster%2C+MaryKate">McMaster, MaryKate</a>
<div id="nlfeatures2617_widget"></div>
<script type='text/javascript'>
(function($, undefined) {
$(function() {
var options = {
mode: "view",
id_prefix: "#nlfeatures2617_",
name_prefix: "nlfeatures2617_",
labels: {
html : "Use HTML",
map : "Use Map" },
map_options: {
styles: {
default_opacity: 0.4,
select_point_radius: 20
}
},
values: {
geo: "POINT(-7891530.7823767 5282522.0732683)|POINT(-8230536.644611 5116234.1953421)|POINT(-9319397.38672435 5199744.2053415915)|POINT(-9073270.155680398 5021798.803518495)|POINT(-13042415.736887 3857051.3573407)|POINT(-13501649.402761 4686056.7916615)|POINT(-11898764.919844 4035883.4291585)",
zoom: 11,
center: {
lon: "-7888664.3938163",
lat: "5280043.8414928" },
base_layer: "osm",
text: "POINT(-7891530.7823767 5282522.0732683)|POINT(-8230536.644611 5116234.1953421)|POINT(-9319397.38672435 5199744.2053415915)|POINT(-9073270.155680398 5021798.803518495)|POINT(-13042415.736887 3857051.3573407)|POINT(-13501649.402761 4686056.7916615)|POINT(-11898764.919844 4035883.4291585)|11|-7888664.3938163|5280043.8414928|osm\r\nCharlotte Johnson Baker was born in Newburyport, MA on March 30, 1855. She later lived in Poughkeepsie, New York, Ann Arbor, MI, Akron, OH, Socorro, NM, San Diego, CA, and Roseville, Point Loma, CA",
is_html: false,
is_map: 1 }
};
$("#nlfeatures2617_widget").featurewidget(options);
});
// A nasty hack to clobber the current way that TinyMCE is set up for any
// element that has *any* checked checkbox in them.
if (window.Omeka !== undefined && Omeka.Elements !== undefined) {
Omeka.Elements.enableWysiwyg = function (element) {
$(element).find('div.inputs label[class="use-html"] input[type="checkbox"]').each(function () {
var textarea = $(this).parents('.input-block').find('textarea');
if (textarea.length) {
var textareaId = textarea.attr('id');
var enableIfChecked = function () {
if (this.checked) {
tinyMCE.execCommand("mceAddControl", false, textareaId);
} else {
tinyMCE.execCommand("mceRemoveControl", false, textareaId);
}
};
enableIfChecked.call(this);
// Whenever the checkbox is toggled, toggle the WYSIWYG editor.
$(this).click(enableIfChecked);
}
});
};
}
})(jQuery);
</script>